Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.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.TestStreams,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestStreams,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStreams",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.001528/0.001528, allocations: 193 kB / 7.806 MB, free: 2.488 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.217/1.217, 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.0009276/0.0009277, allocations: 101.4 kB / 261.4 MB, free: 13.53 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.1809/0.1809, allocations: 43.49 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1925/0.3734, allocations: 64.96 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.6368, allocations: 58.82 MB / 476.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1046/0.7414, allocations: 84.14 MB / 0.5476 GB, free: 14.81 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001698/0.7416, allocations: 63.47 kB / 0.5477 GB, free: 14.75 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.006028/0.7477, allocations: 2.336 MB / 0.55 GB, free: 12.37 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.7477, allocations: 8 kB / 0.55 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.735e-05/0.7478, allocations: 7.172 kB / 0.55 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.7479, allocations: 163 kB / 0.5501 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.7479, allocations: 0 / 0.5501 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.7479, allocations: 0 / 0.5501 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.152e-05/0.7479, allocations: 0 / 0.5501 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.908e-05/0.748, allocations: 41.69 kB / 0.5502 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.748, allocations: 0 / 0.5502 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.748, allocations: 3.906 kB / 0.5502 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.706e-06/0.748, allocations: 0 / 0.5502 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.925e-05/0.7481, allocations: 122.2 kB / 0.5503 GB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.899e-05/0.7482, allocations: 18.61 kB / 0.5503 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.434e-05/0.7482, allocations: 12.73 kB / 0.5503 GB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.571e-06/0.7482, allocations: 0 / 0.5503 GB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.7482, allocations: 60.27 kB / 0.5504 GB, free: 11.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.7482, allocations: 0 / 0.5504 GB, free: 11.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001513/0.7484, allocations: 41.75 kB / 0.5504 GB, free: 11.79 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.7484, allocations: 77.11 kB / 0.5505 GB, free: 11.7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.725e-05/0.7485, allocations: 85 kB / 0.5506 GB, free: 11.61 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.7485, allocations: 25.7 kB / 0.5506 GB, free: 11.57 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.474e-05/0.7485, allocations: 80.14 kB / 0.5507 GB, free: 11.49 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.434e-05/0.7486, allocations: 7.938 kB / 0.5507 GB, free: 11.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-06/0.7486, allocations: 0 / 0.5507 GB, free: 11.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.96e-05/0.7486, allocations: 310.8 kB / 0.551 GB, free: 11.17 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.861e-06/0.7487, allocations: 4 kB / 0.551 GB, free: 11.17 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.011e-06/0.7487, allocations: 3.984 kB / 0.551 GB, free: 11.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.977e-05/0.7487, allocations: 0 / 0.551 GB, free: 11.16 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.7487, allocations: 4 kB / 0.551 GB, free: 11.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.591e-05/0.7488, allocations: 37.62 kB / 0.551 GB, free: 11.12 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.7488, allocations: 6.812 kB / 0.551 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.7488, allocations: 8.031 kB / 0.551 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.7488, allocations: 0 / 0.551 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.216e-06/0.7488, allocations: 8 kB / 0.5511 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.7489, allocations: 0 / 0.5511 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.155e-05/0.7489, allocations: 0 / 0.5511 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.7489, allocations: 3.906 kB / 0.5511 GB, free: 11.09 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 7.127e-05/0.749, allocations: 135.5 kB / 0.5512 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.667e-06/0.749, allocations: 4 kB / 0.5512 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.997e-06/0.749, allocations: 3 kB / 0.5512 GB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.749, allocations: 4 kB / 0.5512 GB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.749, allocations: 0 / 0.5512 GB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.749, allocations: 0 / 0.5512 GB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.173e-05/0.7491, allocations: 130.1 kB / 0.5513 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.7491, allocations: 0 / 0.5513 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.7491, allocations: 4 kB / 0.5513 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.7491, allocations: 0 / 0.5513 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.7491, allocations: 0 / 0.5513 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.7491, allocations: 0 / 0.5513 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.7491, allocations: 0 / 0.5513 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.021e-05/0.7492, allocations: 72.97 kB / 0.5514 GB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001907/0.7494, allocations: 437.5 kB / 0.5518 GB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.903e-05/0.7495, allocations: 77.11 kB / 0.5519 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.7495, allocations: 4 kB / 0.5519 GB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.002e-05/0.7495, allocations: 4.062 kB / 0.5519 GB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.446e-05/0.7495, allocations: 11.83 kB / 0.5519 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.7495, allocations: 0 / 0.5519 GB, free: 10.12 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.263e-05/0.7495, allocations: 75.28 kB / 0.552 GB, free: 10.04 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007999/0.7503, allocations: 47.98 kB / 0.552 GB, free: 9.996 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.000428/0.7508, allocations: 261.4 kB / 0.5523 GB, free: 9.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 5.639e-05/0.7508, allocations: 29.7 kB / 0.5523 GB, free: 9.715 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.7509, allocations: 3.938 kB / 0.5523 GB, free: 9.711 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.678e-05/0.7509, allocations: 25.7 kB / 0.5523 GB, free: 9.68 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.635e-05/0.751, allocations: 6.391 kB / 0.5523 GB, free: 9.676 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001127/0.7511, allocations: 48 kB / 0.5524 GB, free: 9.605 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/0.7513, allocations: 0.6841 MB / 0.553 GB, free: 8.895 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.7513, allocations: 0 / 0.553 GB, free: 8.895 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStreams_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStreams.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_res.mat does not exist to compare? outputFormat=mat