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.0009819/0.0009818, allocations: 92.64 kB / 17.95 MB, free: 5.344 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.001451/0.001451, allocations: 178.8 kB / 18.86 MB, free: 4.641 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.996/1.996, allocations: 205.4 MB / 225 MB, free: 12.93 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.000459/0.0004588, allocations: 8 kB / 282 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1126, allocations: 47.58 MB / 329.6 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003403/0.1161, allocations: 2.707 MB / 332.3 MB, free: 1.016 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.118, allocations: 0.9757 MB / 333.3 MB, free: 36 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000212/0.1182, allocations: 7.938 kB / 333.3 MB, free: 28 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.1185, allocations: 67.55 kB / 333.4 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001779/0.1186, allocations: 83.27 kB / 333.4 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004904/0.1191, allocations: 183.8 kB / 333.6 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005258/0.1197, allocations: 0.5135 MB / 334.1 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003225/0.12, allocations: 206.2 kB / 334.3 MB, free: 14.98 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.1202, allocations: 139.3 kB / 334.5 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.1204, allocations: 151 kB / 334.6 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.573e-05/0.1205, allocations: 12 kB / 334.6 MB, free: 14.68 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.1206, allocations: 24 kB / 334.7 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.993e-05/0.1207, allocations: 63.59 kB / 334.7 MB, free: 14.6 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.1208, allocations: 228.3 kB / 334.9 MB, free: 14.37 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004166/0.1213, allocations: 399.2 kB / 335.3 MB, free: 13.98 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.1213, allocations: 0 / 335.3 MB, free: 13.98 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1213, allocations: 0 / 335.3 MB, free: 13.98 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.1213, allocations: 4 kB / 335.3 MB, free: 13.97 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.0009228/0.1222, allocations: 0.6549 MB / 336 MB, free: 13.27 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.1223, allocations: 8.031 kB / 336 MB, free: 13.26 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.418e-05/0.1224, allocations: 63.94 kB / 336.1 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005967/0.123, allocations: 402.4 kB / 336.5 MB, free: 12.77 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/0.123, allocations: 29 kB / 336.5 MB, free: 12.74 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.446e-05/0.1231, allocations: 44 kB / 336.5 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008351/0.124, allocations: 495.2 kB / 337 MB, free: 12.14 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/0.124, allocations: 7.938 kB / 337 MB, free: 12.13 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/0.124, allocations: 20 kB / 337 MB, free: 12.11 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.1241, allocations: 12 kB / 337 MB, free: 12.1 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004989/0.1246, allocations: 250.1 kB / 337.3 MB, free: 11.85 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002658/0.1272, allocations: 2.83 MB / 340.1 MB, free: 8.867 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004971/0.1278, allocations: 166.6 kB / 340.3 MB, free: 8.695 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.1279, allocations: 72.88 kB / 340.4 MB, free: 8.621 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000233/0.1282, allocations: 89.08 kB / 340.4 MB, free: 8.516 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.23e-05/0.1282, allocations: 38.5 kB / 340.5 MB, free: 8.469 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.332e-06/0.1282, allocations: 0 / 340.5 MB, free: 8.469 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001645/0.1299, allocations: 0.634 MB / 341.1 MB, free: 7.777 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.1299, allocations: 51.41 kB / 341.2 MB, free: 7.715 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004399/0.1304, allocations: 345.5 kB / 341.5 MB, free: 7.367 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.1304, allocations: 29.7 kB / 341.5 MB, free: 7.332 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002902/0.1307, allocations: 303 kB / 341.8 MB, free: 7.031 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.515e-05/0.1308, allocations: 63.11 kB / 341.9 MB, free: 6.969 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.976e-05/0.1309, allocations: 29.7 kB / 341.9 MB, free: 6.934 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002503/0.1311, allocations: 350.7 kB / 342.3 MB, free: 6.582 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.1313, allocations: 79.69 kB / 342.3 MB, free: 6.504 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003723/0.1317, allocations: 223.6 kB / 342.6 MB, free: 6.215 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.001108/0.1328, allocations: 0.5198 MB / 343.1 MB, free: 5.605 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1328, allocations: 0 / 343.1 MB, free: 5.605 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006093/0.1334, allocations: 373.7 kB / 343.4 MB, free: 5.23 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.1335, allocations: 8 kB / 343.4 MB, free: 5.223 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.1335, allocations: 4 kB / 343.5 MB, free: 5.219 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001715/0.1337, allocations: 36.84 kB / 343.5 MB, free: 5.18 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.1339, allocations: 75.84 kB / 343.6 MB, free: 5.105 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001556/0.1355, allocations: 1.475 MB / 345 MB, free: 3.492 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/0.1357, allocations: 16 kB / 345.1 MB, free: 3.477 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-05/0.1357, allocations: 24.06 kB / 345.1 MB, free: 3.453 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 sytem: 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.0002264/0.136, allocations: 173.6 kB / 345.2 MB, free: 3.273 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.674e-05/0.136, allocations: 35.53 kB / 345.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.882e-05/0.1361, allocations: 39.53 kB / 345.3 MB, free: 3.199 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1361, allocations: 4 kB / 345.3 MB, free: 3.195 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1361, allocations: 3.938 kB / 345.3 MB, free: 3.191 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1361, allocations: 0 / 345.3 MB, free: 3.191 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009861/0.1371, allocations: 0.714 MB / 346 MB, free: 2.402 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1371, allocations: 0 / 346 MB, free: 2.402 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.1373, allocations: 35.92 kB / 346.1 MB, free: 2.367 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.8e-05/0.1374, allocations: 24.84 kB / 346.1 MB, free: 2.34 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.1374, allocations: 12.03 kB / 346.1 MB, free: 2.328 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/0.1385, allocations: 1.331 MB / 347.4 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1386, allocations: 32 / 347.4 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005435/0.1391, allocations: 372.9 kB / 347.8 MB, free: 496 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.929e-05/0.1392, allocations: 104.7 kB / 347.9 MB, free: 372 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.1392, allocations: 7.938 kB / 347.9 MB, free: 364 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.1394, allocations: 19.91 kB / 347.9 MB, free: 344 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.15e-05/0.1394, allocations: 12.02 kB / 348 MB, free: 332 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.1395, allocations: 12 kB / 348 MB, free: 320 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002293/0.1397, allocations: 231.2 kB / 348.2 MB, free: 88 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1397, allocations: 0 / 348.2 MB, free: 88 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004064/0.1401, allocations: 68 kB / 348.3 MB, free: 20 kB / 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.0001585/0.1403, allocations: 103.2 kB / 348.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005844/0.1409, allocations: 307.8 kB / 348.7 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1409, allocations: 0 / 348.7 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002186/0.1411, allocations: 186.6 kB / 348.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.1415, allocations: 53.36 kB / 348.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.1432, allocations: 1.116 MB / 350 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/0.1437, allocations: 0.8223 MB / 350.8 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.484e-05/0.1438, allocations: 35.42 kB / 350.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1438, allocations: 0 / 350.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of Templates: time 0.009882/0.1537, allocations: 6.288 MB / 357.2 MB, free: 7.012 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