Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestStreams,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Utilities_TestStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestStreams,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 181.2 kB / 8.516 MB, free: 1.852 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 221.4 MB / 230.3 MB, free: 7.641 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009845/0.0009845, allocations: 90.55 kB / 281.2 MB, free: 5.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1912/0.1912, allocations: 44.15 MB / 376.1 MB, free: 3.18 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.274/0.4653, allocations: 68.02 MB / 444.1 MB, free: 15.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.6372, allocations: 61.92 MB / 0.4942 GB, free: 1.484 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4479/1.085, allocations: 85.27 MB / 0.5774 GB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/1.085, allocations: 67.38 kB / 0.5775 GB, free: 11.3 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.006521/1.092, allocations: 2.328 MB / 0.5798 GB, free: 8.938 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/1.092, allocations: 18.88 kB / 0.5798 GB, free: 8.922 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.301e-05/1.092, allocations: 7.891 kB / 0.5798 GB, free: 8.914 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.895e-05/1.092, allocations: 159.1 kB / 0.58 GB, free: 8.719 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/1.092, allocations: 3.984 kB / 0.58 GB, free: 8.715 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-06/1.092, allocations: 3.938 kB / 0.58 GB, free: 8.711 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.051e-05/1.092, allocations: 0 / 0.58 GB, free: 8.711 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.847e-05/1.092, allocations: 29.7 kB / 0.58 GB, free: 8.676 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/1.092, allocations: 4 kB / 0.58 GB, free: 8.672 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/1.092, allocations: 0 / 0.58 GB, free: 8.672 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/1.092, allocations: 7.906 kB / 0.58 GB, free: 8.664 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001398/1.093, allocations: 126.2 kB / 0.5801 GB, free: 8.504 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.112e-05/1.093, allocations: 18.61 kB / 0.5801 GB, free: 8.477 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.594e-05/1.093, allocations: 4.859 kB / 0.5802 GB, free: 8.469 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.797e-06/1.093, allocations: 0 / 0.5802 GB, free: 8.469 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.884e-05/1.093, allocations: 72.27 kB / 0.5802 GB, free: 8.383 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/1.093, allocations: 0 / 0.5802 GB, free: 8.383 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002154/1.093, allocations: 37.67 kB / 0.5803 GB, free: 8.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/1.093, allocations: 77.11 kB / 0.5803 GB, free: 8.246 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.236e-05/1.093, allocations: 85 kB / 0.5804 GB, free: 8.156 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/1.093, allocations: 25.7 kB / 0.5804 GB, free: 8.125 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.058e-05/1.093, allocations: 80.14 kB / 0.5805 GB, free: 8.043 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/1.093, allocations: 3.906 kB / 0.5805 GB, free: 8.039 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.281e-06/1.093, allocations: 4 kB / 0.5805 GB, free: 8.035 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/1.093, allocations: 318.7 kB / 0.5808 GB, free: 7.719 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.115e-05/1.093, allocations: 4 kB / 0.5808 GB, free: 7.715 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.471e-06/1.093, allocations: 0.8438 kB / 0.5808 GB, free: 7.715 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.508e-05/1.093, allocations: 4 kB / 0.5808 GB, free: 7.711 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.093, allocations: 0 / 0.5808 GB, free: 7.711 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.154e-05/1.093, allocations: 37.62 kB / 0.5809 GB, free: 7.668 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/1.094, allocations: 4 kB / 0.5809 GB, free: 7.664 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/1.094, allocations: 4 kB / 0.5809 GB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/1.094, allocations: 4.094 kB / 0.5809 GB, free: 7.656 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.343e-06/1.094, allocations: 0 / 0.5809 GB, free: 7.656 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/1.094, allocations: 0 / 0.5809 GB, free: 7.656 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.148e-05/1.094, allocations: 3.938 kB / 0.5809 GB, free: 7.652 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/1.094, allocations: 0 / 0.5809 GB, free: 7.652 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 9.47e-05/1.094, allocations: 138.6 kB / 0.581 GB, free: 7.504 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-06/1.094, allocations: 0 / 0.581 GB, free: 7.504 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.8e-05/1.094, allocations: 6.953 kB / 0.581 GB, free: 7.496 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/1.094, allocations: 0 / 0.581 GB, free: 7.496 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.094, allocations: 0 / 0.581 GB, free: 7.496 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/1.094, allocations: 4 kB / 0.581 GB, free: 7.492 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.226e-05/1.094, allocations: 130.2 kB / 0.5812 GB, free: 7.328 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/1.094, allocations: 3.984 kB / 0.5812 GB, free: 7.324 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-07/1.094, allocations: 0 / 0.5812 GB, free: 7.324 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/1.094, allocations: 0 / 0.5812 GB, free: 7.324 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/1.094, allocations: 0 / 0.5812 GB, free: 7.324 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/1.094, allocations: 0 / 0.5812 GB, free: 7.324 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.094, allocations: 0 / 0.5812 GB, free: 7.324 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001087/1.094, allocations: 69.06 kB / 0.5812 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001928/1.094, allocations: 441.4 kB / 0.5816 GB, free: 6.785 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.843e-05/1.094, allocations: 85.11 kB / 0.5817 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/1.094, allocations: 0 / 0.5817 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.647e-06/1.094, allocations: 0 / 0.5817 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.417e-05/1.094, allocations: 0 / 0.5817 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/1.094, allocations: 7.969 kB / 0.5817 GB, free: 6.676 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.947e-05/1.094, allocations: 75.28 kB / 0.5818 GB, free: 6.602 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008448/1.095, allocations: 51.92 kB / 0.5819 GB, free: 6.551 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.0005755/1.096, allocations: 273.2 kB / 0.5821 GB, free: 6.328 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.951e-05/1.096, allocations: 33.69 kB / 0.5821 GB, free: 6.289 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/1.096, allocations: 0 / 0.5821 GB, free: 6.289 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.255e-05/1.096, allocations: 29.7 kB / 0.5822 GB, free: 6.254 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.824e-05/1.096, allocations: 0 / 0.5822 GB, free: 6.254 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001495/1.096, allocations: 48.2 kB / 0.5822 GB, free: 6.184 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002672/1.096, allocations: 0.6841 MB / 0.5829 GB, free: 5.473 MB / 394.7 MB Notification: Performance of SimCode: time 2.976e-06/1.096, allocations: 0 / 0.5829 GB, free: 5.473 MB / 394.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Utilities_TestStreams_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Utilities_TestStreams.fmu > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams_res.mat does not exist to compare? outputFormat=mat