Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001556/0.001556, allocations: 185.4 kB / 7.802 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.199/1.199, allocations: 205.2 MB / 213.4 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001006/0.001007, allocations: 95.61 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1718/0.1718, allocations: 43.49 MB / 352.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1778/0.3496, allocations: 64.96 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.6297, allocations: 58.84 MB / 476.6 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1184/0.7481, allocations: 83.92 MB / 0.5474 GB, free: 15.01 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.7484, allocations: 67.47 kB / 0.5475 GB, free: 14.95 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.004842/0.7533, allocations: 1.697 MB / 0.5491 GB, free: 13.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.7533, allocations: 8 kB / 0.5491 GB, free: 13.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.317e-05/0.7534, allocations: 0 / 0.5491 GB, free: 13.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.7535, allocations: 163 kB / 0.5493 GB, free: 13 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.7535, allocations: 7.984 kB / 0.5493 GB, free: 12.99 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.7536, allocations: 4 kB / 0.5493 GB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.179e-05/0.7536, allocations: 0 / 0.5493 GB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.111e-05/0.7537, allocations: 29.69 kB / 0.5493 GB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.7537, allocations: 3.984 kB / 0.5493 GB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.7537, allocations: 3.906 kB / 0.5493 GB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.7537, allocations: 8 kB / 0.5494 GB, free: 12.93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001732/0.7539, allocations: 122.2 kB / 0.5495 GB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.959e-05/0.754, allocations: 14.58 kB / 0.5495 GB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.583e-05/0.754, allocations: 4.859 kB / 0.5495 GB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.754, allocations: 8.031 kB / 0.5495 GB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.594e-05/0.7541, allocations: 64.25 kB / 0.5496 GB, free: 12.66 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.7541, allocations: 4 kB / 0.5496 GB, free: 12.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001683/0.7542, allocations: 29.7 kB / 0.5496 GB, free: 12.62 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.7543, allocations: 81.05 kB / 0.5497 GB, free: 12.52 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.828e-05/0.7543, allocations: 85 kB / 0.5498 GB, free: 12.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.7544, allocations: 25.7 kB / 0.5498 GB, free: 12.4 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.144e-05/0.7544, allocations: 80.14 kB / 0.5499 GB, free: 12.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.7544, allocations: 7.906 kB / 0.5499 GB, free: 12.31 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-06/0.7544, allocations: 0 / 0.5499 GB, free: 12.31 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.7545, allocations: 310.8 kB / 0.5502 GB, free: 12 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.718e-06/0.7546, allocations: 4.031 kB / 0.5502 GB, free: 12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.568e-06/0.7546, allocations: 7.984 kB / 0.5502 GB, free: 11.99 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.686e-05/0.7546, allocations: 4 kB / 0.5502 GB, free: 11.98 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7546, allocations: 0 / 0.5502 GB, free: 11.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.161e-05/0.7547, allocations: 33.64 kB / 0.5502 GB, free: 11.95 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.7547, allocations: 4 kB / 0.5502 GB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.7547, allocations: 3.172 kB / 0.5502 GB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.7548, allocations: 0 / 0.5502 GB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.7548, allocations: 96 / 0.5502 GB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.7548, allocations: 8 kB / 0.5502 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.255e-05/0.7548, allocations: 0 / 0.5502 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.7548, allocations: 3.906 kB / 0.5502 GB, free: 11.93 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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 8.316e-05/0.7549, allocations: 132.1 kB / 0.5503 GB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.879e-06/0.7549, allocations: 4 kB / 0.5504 GB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.495e-05/0.7549, allocations: 3 kB / 0.5504 GB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.7549, allocations: 0 / 0.5504 GB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.7549, allocations: 0 / 0.5504 GB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.755, allocations: 0 / 0.5504 GB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.23e-05/0.755, allocations: 130.2 kB / 0.5505 GB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.755, allocations: 0 / 0.5505 GB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.7551, allocations: 0 / 0.5505 GB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.7551, allocations: 7.984 kB / 0.5505 GB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.7551, allocations: 0 / 0.5505 GB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.7551, allocations: 0 / 0.5505 GB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.7551, allocations: 0 / 0.5505 GB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.284e-05/0.7552, allocations: 64.98 kB / 0.5505 GB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002232/0.7554, allocations: 441.6 kB / 0.551 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.748e-05/0.7555, allocations: 77.11 kB / 0.551 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.7555, allocations: 0 / 0.551 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.299e-05/0.7555, allocations: 4 kB / 0.551 GB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.817e-05/0.7555, allocations: 7.906 kB / 0.5511 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-06/0.7555, allocations: 7.984 kB / 0.5511 GB, free: 10.96 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.722e-05/0.7556, allocations: 79.31 kB / 0.5511 GB, free: 10.88 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009032/0.7565, allocations: 28 kB / 0.5512 GB, free: 10.85 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0005249/0.757, allocations: 250.4 kB / 0.5514 GB, free: 10.62 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.077e-05/0.7571, allocations: 37.64 kB / 0.5514 GB, free: 10.57 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7571, allocations: 0 / 0.5514 GB, free: 10.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.176e-05/0.7572, allocations: 29.7 kB / 0.5515 GB, free: 10.54 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.878e-05/0.7573, allocations: 9.609 kB / 0.5515 GB, free: 10.54 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001699/0.7574, allocations: 44.06 kB / 0.5515 GB, free: 10.47 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002893/0.7577, allocations: 0.6879 MB / 0.5522 GB, free: 9.754 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.7578, allocations: 0 / 0.5522 GB, free: 9.754 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.mat does not exist to compare? outputFormat=mat