Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.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.Math.Random.TestSpecial,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestSpecial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestSpecial,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestSpecial",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.001875/0.001876, allocations: 193.8 kB / 7.803 MB, free: 2.449 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.399/1.399, 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.0009396/0.0009396, allocations: 91.22 kB / 261.4 MB, free: 13.62 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.2024/0.2024, allocations: 43.49 MB / 352.9 MB, free: 2.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2323/0.4348, allocations: 64.96 MB / 417.8 MB, free: 40.49 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.7953, allocations: 58.83 MB / 476.6 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1328/0.9281, allocations: 85.76 MB / 0.5492 GB, free: 13.18 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.9284, allocations: 67.47 kB / 0.5493 GB, free: 13.11 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 5.258/6.187, allocations: 1.659 GB / 2.208 GB, free: 104 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/6.187, allocations: 8 kB / 2.208 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.53e-05/6.187, allocations: 4.844 kB / 2.208 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.63e-05/6.187, allocations: 159.1 kB / 2.208 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/6.187, allocations: 3.844 kB / 2.208 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/6.187, allocations: 0 / 2.208 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.106e-05/6.187, allocations: 3.984 kB / 2.208 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.635e-05/6.187, allocations: 29.7 kB / 2.208 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/6.187, allocations: 3.906 kB / 2.208 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/6.187, allocations: 0 / 2.208 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/6.187, allocations: 0 / 2.208 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001114/6.187, allocations: 126.2 kB / 2.208 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.914e-05/6.187, allocations: 34.02 kB / 2.208 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.448e-05/6.187, allocations: 4.859 kB / 2.208 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.104e-06/6.187, allocations: 3.984 kB / 2.208 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/6.187, allocations: 56.27 kB / 2.208 GB, free: 103.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/6.187, allocations: 0 / 2.208 GB, free: 103.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001446/6.188, allocations: 33.75 kB / 2.208 GB, free: 103.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/6.188, allocations: 80.98 kB / 2.208 GB, free: 103.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.291e-05/6.188, allocations: 89 kB / 2.208 GB, free: 103.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/6.188, allocations: 25.7 kB / 2.208 GB, free: 103.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.988e-05/6.188, allocations: 80.14 kB / 2.209 GB, free: 103.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/6.188, allocations: 7.906 kB / 2.209 GB, free: 103.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-06/6.188, allocations: 0 / 2.209 GB, free: 103.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.393e-05/6.188, allocations: 310.8 kB / 2.209 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.417e-06/6.188, allocations: 3.938 kB / 2.209 GB, free: 102.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.025e-06/6.188, allocations: 4 kB / 2.209 GB, free: 102.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.939e-05/6.188, allocations: 4.359 kB / 2.209 GB, free: 102.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/6.188, allocations: 0 / 2.209 GB, free: 102.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.074e-05/6.188, allocations: 33.69 kB / 2.209 GB, free: 102.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/6.188, allocations: 4 kB / 2.209 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/6.188, allocations: 0 / 2.209 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/6.188, allocations: 3.719 kB / 2.209 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.844e-06/6.188, allocations: 4 kB / 2.209 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/6.188, allocations: 0 / 2.209 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.092e-05/6.188, allocations: 11.75 kB / 2.209 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/6.188, allocations: 0 / 2.209 GB, free: 102.7 MB / 490.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 0.0001141/6.188, allocations: 128.1 kB / 2.209 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.225e-05/6.188, allocations: 4 kB / 2.209 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.988e-05/6.188, allocations: 3 kB / 2.209 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/6.188, allocations: 3.984 kB / 2.209 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/6.188, allocations: 0 / 2.209 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/6.188, allocations: 0 / 2.209 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/6.188, allocations: 126.2 kB / 2.209 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/6.188, allocations: 7.844 kB / 2.209 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.946e-06/6.188, allocations: 0 / 2.209 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/6.188, allocations: 3.938 kB / 2.209 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/6.188, allocations: 0 / 2.209 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/6.188, allocations: 0 / 2.209 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/6.188, allocations: 0 / 2.209 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.706e-05/6.189, allocations: 65.03 kB / 2.209 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002367/6.189, allocations: 453.4 kB / 2.21 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.544e-05/6.189, allocations: 77.11 kB / 2.21 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/6.189, allocations: 3.938 kB / 2.21 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.349e-05/6.189, allocations: 3.906 kB / 2.21 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.875e-05/6.189, allocations: 3.938 kB / 2.21 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/6.189, allocations: 4.031 kB / 2.21 GB, free: 101.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.506e-05/6.189, allocations: 79.09 kB / 2.21 GB, free: 101.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008681/6.19, allocations: 4 kB / 2.21 GB, free: 101.7 MB / 490.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.0001377/6.19, allocations: 91.25 kB / 2.21 GB, free: 101.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.679e-05/6.19, allocations: 33.69 kB / 2.21 GB, free: 101.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/6.19, allocations: 0 / 2.21 GB, free: 101.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.478e-05/6.19, allocations: 25.7 kB / 2.21 GB, free: 101.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/6.19, allocations: 7.984 kB / 2.21 GB, free: 101.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001974/6.19, allocations: 50.48 kB / 2.21 GB, free: 101.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003863/6.191, allocations: 0.6918 MB / 2.211 GB, free: 116.7 MB / 0.4948 GB Notification: Performance of SimCode: time 4.51e-07/6.191, allocations: 0 / 2.211 GB, free: 116.7 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestSpecial_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestSpecial.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial_res.mat does not exist to compare? outputFormat=mat