Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 101.5 kB / 17.8 MB, free: 5.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 194 kB / 18.72 MB, free: 4.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.959/1.959, allocations: 205.1 MB / 224.6 MB, free: 12.39 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 47.92 kB / 280.6 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1379, allocations: 46.63 MB / 327.2 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.00603/0.144, allocations: 3.085 MB / 330.3 MB, free: 1.781 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002482/0.1465, allocations: 0.9874 MB / 331.3 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002201/0.1467, allocations: 11.94 kB / 331.3 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002958/0.1471, allocations: 71.42 kB / 331.4 MB, free: 0.707 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.1472, allocations: 75.27 kB / 331.5 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005798/0.1478, allocations: 191.8 kB / 331.7 MB, free: 456 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006992/0.1485, allocations: 0.5137 MB / 332.2 MB, free: 15.93 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000364/0.1489, allocations: 198.2 kB / 332.4 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002157/0.1491, allocations: 151.2 kB / 332.5 MB, free: 15.58 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.1494, allocations: 174.9 kB / 332.7 MB, free: 15.41 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.933e-05/0.1494, allocations: 24 kB / 332.7 MB, free: 15.39 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.1496, allocations: 35.94 kB / 332.7 MB, free: 15.35 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.277e-05/0.1496, allocations: 71.64 kB / 332.8 MB, free: 15.28 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001927/0.1498, allocations: 218.6 kB / 333 MB, free: 15.07 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004968/0.1504, allocations: 415.3 kB / 333.4 MB, free: 14.66 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.1504, allocations: 0 / 333.4 MB, free: 14.66 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1504, allocations: 0 / 333.4 MB, free: 14.66 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.1504, allocations: 0 / 333.4 MB, free: 14.66 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.00138/0.1518, allocations: 0.7406 MB / 334.2 MB, free: 13.87 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1518, allocations: 8.031 kB / 334.2 MB, free: 13.86 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.152, allocations: 67.94 kB / 334.2 MB, free: 13.8 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006402/0.1526, allocations: 394.4 kB / 334.6 MB, free: 13.37 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/0.1526, allocations: 32.94 kB / 334.7 MB, free: 13.34 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.617e-05/0.1527, allocations: 40 kB / 334.7 MB, free: 13.3 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.1538, allocations: 495.3 kB / 335.2 MB, free: 12.74 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.1538, allocations: 7.875 kB / 335.2 MB, free: 12.73 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.279e-05/0.1538, allocations: 20 kB / 335.2 MB, free: 12.71 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.1539, allocations: 8 kB / 335.2 MB, free: 12.71 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004968/0.1544, allocations: 254.1 kB / 335.5 MB, free: 12.46 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003379/0.1578, allocations: 2.831 MB / 338.3 MB, free: 9.473 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004625/0.1582, allocations: 162.7 kB / 338.5 MB, free: 9.305 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.1584, allocations: 72.83 kB / 338.5 MB, free: 9.23 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003767/0.1588, allocations: 85.09 kB / 338.6 MB, free: 9.129 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.1588, allocations: 38.5 kB / 338.7 MB, free: 9.082 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.1588, allocations: 0 / 338.7 MB, free: 9.082 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001682/0.1605, allocations: 0.6292 MB / 339.3 MB, free: 8.398 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.1606, allocations: 55.41 kB / 339.3 MB, free: 8.332 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005169/0.1611, allocations: 345.5 kB / 339.7 MB, free: 7.984 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.1611, allocations: 29.7 kB / 339.7 MB, free: 7.949 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002997/0.1614, allocations: 291 kB / 340 MB, free: 7.66 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.233e-05/0.1615, allocations: 71.09 kB / 340.1 MB, free: 7.59 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.1616, allocations: 73.56 kB / 340.1 MB, free: 7.512 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.1618, allocations: 350.7 kB / 340.5 MB, free: 7.16 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.162, allocations: 67.75 kB / 340.5 MB, free: 7.094 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000285/0.1623, allocations: 215.6 kB / 340.7 MB, free: 6.812 MB / 286.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: inverseCapacity.mass.T = $START.inverseCapacity.mass.T ($START.directCapacity.heatFlowToTemperature.y = $START.inverseCapacity.mass.T) Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/0.1638, allocations: 0.512 MB / 341.3 MB, free: 6.211 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.1638, allocations: 8 kB / 341.3 MB, free: 6.203 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000902/0.1647, allocations: 357.7 kB / 341.6 MB, free: 5.844 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.1647, allocations: 11.98 kB / 341.6 MB, free: 5.832 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.1648, allocations: 4 kB / 341.6 MB, free: 5.828 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001764/0.1649, allocations: 36.84 kB / 341.7 MB, free: 5.789 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.1652, allocations: 75.84 kB / 341.7 MB, free: 5.715 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/0.1669, allocations: 1.468 MB / 343.2 MB, free: 4.109 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.1671, allocations: 23.98 kB / 343.2 MB, free: 4.086 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.1672, allocations: 16 kB / 343.2 MB, free: 4.07 MB / 286.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: inverseCapacity.mass.T = $START.inverseCapacity.mass.T. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003428/0.1675, allocations: 169.7 kB / 343.4 MB, free: 3.895 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.27e-05/0.1676, allocations: 39.53 kB / 343.5 MB, free: 3.855 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.786e-05/0.1677, allocations: 43.52 kB / 343.5 MB, free: 3.812 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1677, allocations: 0 / 343.5 MB, free: 3.812 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/0.1677, allocations: 7.938 kB / 343.5 MB, free: 3.805 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1677, allocations: 0 / 343.5 MB, free: 3.805 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.1687, allocations: 0.7151 MB / 344.2 MB, free: 3.016 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1688, allocations: 0 / 344.2 MB, free: 3.016 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.1689, allocations: 39.92 kB / 344.3 MB, free: 2.977 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.696e-05/0.169, allocations: 24.84 kB / 344.3 MB, free: 2.949 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.1691, allocations: 4 kB / 344.3 MB, free: 2.945 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00155/0.1706, allocations: 1.331 MB / 345.6 MB, free: 1.484 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1706, allocations: 0 / 345.6 MB, free: 1.484 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000625/0.1713, allocations: 360.7 kB / 346 MB, free: 1.109 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.479e-05/0.1713, allocations: 108.7 kB / 346.1 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.897e-05/0.1714, allocations: 8.031 kB / 346.1 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.1715, allocations: 4 kB / 346.1 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/0.1717, allocations: 15.98 kB / 346.1 MB, free: 0.957 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.1717, allocations: 4 kB / 346.1 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003682/0.1721, allocations: 243.2 kB / 346.3 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1721, allocations: 0 / 346.3 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004465/0.1726, allocations: 68 kB / 346.4 MB, free: 0.6484 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inverseCapacity.mass.T,capacitor3a.T,capacitor3b.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001365/0.1727, allocations: 95.25 kB / 346.5 MB, free: 0.543 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007566/0.1735, allocations: 311.3 kB / 346.8 MB, free: 232 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1735, allocations: 0 / 346.8 MB, free: 232 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002461/0.1737, allocations: 187.4 kB / 347 MB, free: 32 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.1741, allocations: 41.53 kB / 347 MB, free: 15.99 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.1758, allocations: 1.069 MB / 348.1 MB, free: 14.88 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/0.1762, allocations: 0.8184 MB / 348.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.359e-05/0.1763, allocations: 31.42 kB / 348.9 MB, free: 14 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1763, allocations: 0 / 348.9 MB, free: 14 MB / 302.1 MB Notification: Performance of Templates: time 0.009541/0.1859, allocations: 6.373 MB / 355.3 MB, free: 7.625 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUsCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUsCalcHelperMain.o] Error 1