Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.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.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001052, allocations: 90.81 kB / 17.95 MB, free: 5.625 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.001558/0.001558, allocations: 180.6 kB / 18.86 MB, free: 4.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.036/2.036, allocations: 205.4 MB / 225 MB, free: 13.07 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.0005364/0.0005369, allocations: 19.98 kB / 282 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1181, allocations: 47.58 MB / 329.6 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003118/0.1212, allocations: 2.147 MB / 331.8 MB, free: 1.598 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001407/0.1227, allocations: 0.6359 MB / 332.4 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002285/0.1229, allocations: 4 kB / 332.4 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.1231, allocations: 23.83 kB / 332.4 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002538/0.1234, allocations: 59.47 kB / 332.5 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.1237, allocations: 51.94 kB / 332.5 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000392/0.1241, allocations: 258.8 kB / 332.8 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002692/0.1243, allocations: 87.3 kB / 332.9 MB, free: 488 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002064/0.1246, allocations: 83.66 kB / 332.9 MB, free: 404 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.1248, allocations: 99.48 kB / 333 MB, free: 304 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.857e-05/0.1249, allocations: 12 kB / 333.1 MB, free: 292 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.125, allocations: 12 kB / 333.1 MB, free: 280 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.886e-05/0.125, allocations: 35.84 kB / 333.1 MB, free: 244 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.1252, allocations: 133.1 kB / 333.2 MB, free: 104 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.1254, allocations: 187.7 kB / 333.4 MB, free: 15.92 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1255, allocations: 0 / 333.4 MB, free: 15.92 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.749e-06/0.1255, allocations: 3.984 kB / 333.4 MB, free: 15.91 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1255, allocations: 0 / 333.4 MB, free: 15.91 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001038/0.1265, allocations: 0.5109 MB / 333.9 MB, free: 15.35 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.1266, allocations: 12.03 kB / 333.9 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.1267, allocations: 28.66 kB / 334 MB, free: 15.31 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.127, allocations: 236.3 kB / 334.2 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.127, allocations: 16.81 kB / 334.2 MB, free: 15.03 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.118e-05/0.1271, allocations: 20.38 kB / 334.2 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004901/0.1276, allocations: 234.2 kB / 334.5 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.1276, allocations: 0 / 334.5 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.1276, allocations: 12 kB / 334.5 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.1277, allocations: 4 kB / 334.5 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004203/0.1281, allocations: 173.6 kB / 334.7 MB, free: 14.58 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.1295, allocations: 0.8244 MB / 335.5 MB, free: 13.69 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003921/0.1299, allocations: 170.5 kB / 335.6 MB, free: 13.52 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.13, allocations: 84.83 kB / 335.7 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.1301, allocations: 3.938 kB / 335.7 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.1301, allocations: 30.56 kB / 335.8 MB, free: 13.39 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.1301, allocations: 4 kB / 335.8 MB, free: 13.38 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008878/0.131, allocations: 359.2 kB / 336.1 MB, free: 13 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.1311, allocations: 55.41 kB / 336.2 MB, free: 12.94 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.1312, allocations: 170.7 kB / 336.3 MB, free: 12.76 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.1313, allocations: 33.7 kB / 336.4 MB, free: 12.72 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.1314, allocations: 148 kB / 336.5 MB, free: 12.57 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.798e-05/0.1315, allocations: 59.31 kB / 336.6 MB, free: 12.51 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/0.1315, allocations: 21.72 kB / 336.6 MB, free: 12.48 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.1316, allocations: 334.8 kB / 336.9 MB, free: 12.15 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.1318, allocations: 55.97 kB / 337 MB, free: 12.09 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.132, allocations: 100.2 kB / 337.1 MB, free: 11.98 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003112/0.1323, allocations: 155.3 kB / 337.2 MB, free: 11.82 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1323, allocations: 0 / 337.2 MB, free: 11.82 MB / 286.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004924/0.1328, allocations: 230.1 kB / 337.4 MB, free: 11.58 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.1328, allocations: 11.94 kB / 337.5 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.1329, allocations: 0 / 337.5 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001825/0.133, allocations: 36.83 kB / 337.5 MB, free: 11.53 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.1332, allocations: 43.91 kB / 337.5 MB, free: 11.49 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001188/0.1344, allocations: 1.366 MB / 338.9 MB, free: 9.984 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.1346, allocations: 39.91 kB / 338.9 MB, free: 9.945 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.1346, allocations: 8 kB / 339 MB, free: 9.938 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (onOffController.y,$PRE.onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * 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.0001321/0.1348, allocations: 129.8 kB / 339.1 MB, free: 9.801 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.293e-05/0.1348, allocations: 15.81 kB / 339.1 MB, free: 9.785 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.468e-05/0.1349, allocations: 25.86 kB / 339.1 MB, free: 9.762 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.1349, allocations: 4 kB / 339.1 MB, free: 9.758 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1349, allocations: 0 / 339.1 MB, free: 9.758 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1349, allocations: 4 kB / 339.1 MB, free: 9.754 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007971/0.1357, allocations: 0.5225 MB / 339.7 MB, free: 9.172 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1357, allocations: 0 / 339.7 MB, free: 9.172 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.1359, allocations: 39.92 kB / 339.7 MB, free: 9.133 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001192/0.136, allocations: 24.84 kB / 339.7 MB, free: 9.105 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.1361, allocations: 11.94 kB / 339.7 MB, free: 9.094 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001134/0.1372, allocations: 1.367 MB / 341.1 MB, free: 7.598 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1372, allocations: 0 / 341.1 MB, free: 7.598 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006453/0.1379, allocations: 369.2 kB / 341.5 MB, free: 7.219 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.27e-05/0.138, allocations: 104.9 kB / 341.6 MB, free: 7.098 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.138, allocations: 4 kB / 341.6 MB, free: 7.094 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.1382, allocations: 24.05 kB / 341.6 MB, free: 7.07 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.129e-05/0.1383, allocations: 19.97 kB / 341.6 MB, free: 7.051 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.1383, allocations: 7.938 kB / 341.6 MB, free: 7.043 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001065/0.1384, allocations: 135.2 kB / 341.7 MB, free: 6.91 MB / 286.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1384, allocations: 0 / 341.7 MB, free: 6.91 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003321/0.1387, allocations: 59.84 kB / 341.8 MB, free: 6.852 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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 Backend phase and start with SimCode phase: time 0.0001552/0.1389, allocations: 99.25 kB / 341.9 MB, free: 6.742 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006203/0.1395, allocations: 274.4 kB / 342.2 MB, free: 6.461 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.1395, allocations: 8.188 kB / 342.2 MB, free: 6.453 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002789/0.1398, allocations: 195.5 kB / 342.4 MB, free: 6.25 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.1402, allocations: 23.98 kB / 342.4 MB, free: 6.227 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009958/0.1412, allocations: 0.6061 MB / 343 MB, free: 5.59 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.1416, allocations: 0.732 MB / 343.7 MB, free: 4.832 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.032e-05/0.1417, allocations: 19.44 kB / 343.7 MB, free: 4.812 MB / 286.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1417, allocations: 0 / 343.7 MB, free: 4.812 MB / 286.1 MB Notification: Performance of Templates: time 0.006194/0.1479, allocations: 3.131 MB / 346.9 MB, free: 1.68 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.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.ControlledTemperatureCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperatureCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperatureCalcHelperMain.o] Error 1