Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestCylinderUnitOnOff.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo) 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(MEV.Test.TestCylinderUnitOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinderUnitOnOff") translateModel(MEV.Test.TestCylinderUnitOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinderUnitOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000805/0.0008049, allocations: 102.6 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 174.4 kB / 16.58 MB, free: 6.359 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.576/1.576, allocations: 205.4 MB / 222.8 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.009543/0.009543, allocations: 1.916 MB / 272.9 MB, free: 3.391 MB / 222.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.0004776/0.0004776, allocations: 12 kB / 331.5 MB, free: 33.34 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08801/0.0885, allocations: 48.1 MB / 379.6 MB, free: 1.188 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.003977/0.09252, allocations: 3.438 MB / 383.1 MB, free: 13.73 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.09401, allocations: 0.913 MB / 384 MB, free: 12.81 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001763/0.09421, allocations: 12 kB / 384 MB, free: 12.8 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001587/0.09438, allocations: 55.52 kB / 384 MB, free: 12.74 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002889/0.09467, allocations: 170.5 kB / 384.2 MB, free: 12.57 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.09496, allocations: 87.86 kB / 384.3 MB, free: 12.49 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004397/0.09541, allocations: 485.8 kB / 384.8 MB, free: 12.01 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002421/0.09566, allocations: 114.9 kB / 384.9 MB, free: 11.9 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.09586, allocations: 159.3 kB / 385 MB, free: 11.74 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002286/0.0961, allocations: 167.2 kB / 385.2 MB, free: 11.58 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.973e-05/0.09615, allocations: 20 kB / 385.2 MB, free: 11.56 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.09625, allocations: 31.98 kB / 385.2 MB, free: 11.53 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.708e-05/0.09633, allocations: 63.69 kB / 385.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.09644, allocations: 105.5 kB / 385.4 MB, free: 11.36 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003397/0.09679, allocations: 331.1 kB / 385.7 MB, free: 11.03 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.0968, allocations: 0 / 385.7 MB, free: 11.03 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.09681, allocations: 0 / 385.7 MB, free: 11.03 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.09683, allocations: 0 / 385.7 MB, free: 11.03 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001285/0.09812, allocations: 0.6854 MB / 386.4 MB, free: 10.29 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.09816, allocations: 12.03 kB / 386.4 MB, free: 10.28 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.021e-05/0.09825, allocations: 43.53 kB / 386.5 MB, free: 10.23 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003868/0.09864, allocations: 306.2 kB / 386.8 MB, free: 9.891 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/0.09868, allocations: 28.59 kB / 386.8 MB, free: 9.863 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.374e-05/0.09874, allocations: 32 kB / 386.8 MB, free: 9.832 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000556/0.09931, allocations: 298 kB / 387.1 MB, free: 9.531 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.09933, allocations: 4 kB / 387.1 MB, free: 9.527 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.973e-05/0.09937, allocations: 16 kB / 387.1 MB, free: 9.512 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.09939, allocations: 8 kB / 387.2 MB, free: 9.504 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005086/0.0999, allocations: 242.5 kB / 387.4 MB, free: 9.27 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.1013, allocations: 0.9403 MB / 388.3 MB, free: 8.277 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005077/0.1018, allocations: 282.1 kB / 388.6 MB, free: 7.996 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002215/0.1021, allocations: 121.3 kB / 388.7 MB, free: 7.875 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.953e-05/0.1021, allocations: 4.234 kB / 388.7 MB, free: 7.871 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003924/0.1025, allocations: 195.5 kB / 388.9 MB, free: 7.668 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.934e-06/0.1025, allocations: 0 / 388.9 MB, free: 7.668 MB / 286.1 MB Notification: Performance of matching and sorting (n=36): time 0.002337/0.1049, allocations: 1.263 MB / 390.2 MB, free: 6.316 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.1049, allocations: 59.41 kB / 390.2 MB, free: 6.246 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.1052, allocations: 300.6 kB / 390.5 MB, free: 5.949 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.1053, allocations: 33.7 kB / 390.6 MB, free: 5.91 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.1054, allocations: 188.6 kB / 390.7 MB, free: 5.723 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.206e-05/0.1055, allocations: 126.3 kB / 390.9 MB, free: 5.598 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.896e-05/0.1056, allocations: 8 kB / 390.9 MB, free: 5.59 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1057, allocations: 342.8 kB / 391.2 MB, free: 5.246 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002404/0.1059, allocations: 112.8 kB / 391.3 MB, free: 5.133 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/0.1062, allocations: 149.9 kB / 391.5 MB, free: 4.977 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.1065, allocations: 151.2 kB / 391.6 MB, free: 4.824 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1065, allocations: 0 / 391.6 MB, free: 4.824 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006484/0.1072, allocations: 383.9 kB / 392 MB, free: 4.438 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.15e-05/0.1073, allocations: 136.4 kB / 392.1 MB, free: 4.285 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1073, allocations: 0 / 392.1 MB, free: 4.285 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.1073, allocations: 4 kB / 392.1 MB, free: 4.281 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003203/0.1076, allocations: 79.89 kB / 392.2 MB, free: 4.203 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.1077, allocations: 4 kB / 392.2 MB, free: 4.199 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.1079, allocations: 27.98 kB / 392.2 MB, free: 4.172 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.745e-05/0.1079, allocations: 15.98 kB / 392.3 MB, free: 4.156 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.216e-06/0.108, allocations: 4 kB / 392.3 MB, free: 4.152 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005862/0.1085, allocations: 356.7 kB / 392.6 MB, free: 3.797 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-06/0.1086, allocations: 0 / 392.6 MB, free: 3.797 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.468e-06/0.1086, allocations: 4 kB / 392.6 MB, free: 3.793 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/0.1088, allocations: 71.91 kB / 392.7 MB, free: 3.723 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.1089, allocations: 4 kB / 392.7 MB, free: 3.719 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.1091, allocations: 32.03 kB / 392.7 MB, free: 3.688 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.1091, allocations: 19.89 kB / 392.7 MB, free: 3.668 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition3,$whenCondition1,$PRE.opening.T_start,opening.T_start,$PRE.opening.count,opening.count,$PRE.controller.on,controller.on) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002078/0.1093, allocations: 237 kB / 393 MB, free: 3.426 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.437e-05/0.1094, allocations: 35.53 kB / 393 MB, free: 3.391 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006513/0.11, allocations: 352.8 kB / 393.3 MB, free: 3.039 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.11, allocations: 4 kB / 393.4 MB, free: 3.035 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.11, allocations: 0 / 393.4 MB, free: 3.035 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.11, allocations: 3.984 kB / 393.4 MB, free: 3.031 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.1113, allocations: 0.8812 MB / 394.2 MB, free: 2.078 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.1113, allocations: 0 / 394.2 MB, free: 2.078 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003396/0.1116, allocations: 84.03 kB / 394.3 MB, free: 1.996 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.54e-05/0.1117, allocations: 7.953 kB / 394.3 MB, free: 1.988 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.1117, allocations: 15.94 kB / 394.3 MB, free: 1.973 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.1117, allocations: 4 kB / 394.3 MB, free: 1.969 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1117, allocations: 0 / 394.3 MB, free: 1.969 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000901/0.1126, allocations: 0.593 MB / 394.9 MB, free: 1.34 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.1128, allocations: 140.7 kB / 395.1 MB, free: 1.184 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.06e-05/0.1128, allocations: 11.95 kB / 395.1 MB, free: 1.172 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.1131, allocations: 31.97 kB / 395.1 MB, free: 1.141 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.349e-05/0.1132, allocations: 27.95 kB / 395.1 MB, free: 1.113 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.1132, allocations: 20 kB / 395.2 MB, free: 1.094 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002173/0.1134, allocations: 215.1 kB / 395.4 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1134, allocations: 0 / 395.4 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004745/0.1139, allocations: 144 kB / 395.5 MB, free: 0.7422 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (bellJar.cylinder.M,bellJar.damper.s_rel,bellJar.damper.v_rel) * Number of discrete variables: 6 ($whenCondition2,$whenCondition3,$whenCondition1,opening.T_start,opening.count,controller.on) * Number of discrete states: 1 (opening.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001638/0.1141, allocations: 111.1 kB / 395.6 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009143/0.115, allocations: 0.5615 MB / 396.2 MB, free: 36 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.115, allocations: 0 / 396.2 MB, free: 36 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003109/0.1153, allocations: 160.4 kB / 396.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005278/0.1159, allocations: 57.14 kB / 396.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.1176, allocations: 1.183 MB / 397.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.118, allocations: 0.7923 MB / 398.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.49e-05/0.1181, allocations: 39.38 kB / 398.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1181, allocations: 0 / 398.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of Templates: time 0.006559/0.1246, allocations: 4.306 MB / 402.7 MB, free: 9.422 MB / 302.1 MB make -j1 -f MEV_MEV.Test.TestCylinderUnitOnOff.makefile make -j1 -f MEV_MEV.Test.TestCylinderUnitOnOff.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppMEV_MEV.Test.TestCylinderUnitOnOffCalcHelperMain.o OMCppMEV_MEV.Test.TestCylinderUnitOnOffCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppMEV_MEV.Test.TestCylinderUnitOnOffCalcHelperMain.o] Error 1