Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.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.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestBooleanFunctions",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.001788/0.001788, allocations: 173.8 kB / 8.515 MB, free: 1.828 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.197/1.197, allocations: 221.4 MB / 230.3 MB, free: 7.773 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.0009217/0.0009217, allocations: 89.92 kB / 281.2 MB, free: 5.566 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.1696/0.1696, allocations: 44.14 MB / 376.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2103/0.3799, allocations: 68.02 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09941/0.4793, allocations: 61.91 MB / 0.4942 GB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2578/0.7371, allocations: 85.43 MB / 0.5776 GB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001819/0.7374, allocations: 61.88 kB / 0.5777 GB, free: 11.23 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.008716/0.7461, allocations: 3.376 MB / 0.581 GB, free: 7.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.7462, allocations: 11.94 kB / 0.581 GB, free: 7.809 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.7462, allocations: 11.84 kB / 0.581 GB, free: 7.797 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.7463, allocations: 159.1 kB / 0.5811 GB, free: 7.602 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.7463, allocations: 6.5 kB / 0.5811 GB, free: 7.598 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.723e-06/0.7463, allocations: 0 / 0.5811 GB, free: 7.598 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.064e-05/0.7464, allocations: 0 / 0.5811 GB, free: 7.598 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.505e-05/0.7464, allocations: 29.7 kB / 0.5812 GB, free: 7.562 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.7464, allocations: 0 / 0.5812 GB, free: 7.562 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.7465, allocations: 0 / 0.5812 GB, free: 7.562 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.7465, allocations: 3.906 kB / 0.5812 GB, free: 7.555 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000111/0.7466, allocations: 134.2 kB / 0.5813 GB, free: 7.387 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.712e-05/0.7466, allocations: 14.58 kB / 0.5813 GB, free: 7.363 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.46e-05/0.7466, allocations: 8.953 kB / 0.5813 GB, free: 7.352 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.162e-06/0.7467, allocations: 0 / 0.5813 GB, free: 7.352 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.7467, allocations: 60.27 kB / 0.5814 GB, free: 7.277 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.7467, allocations: 0 / 0.5814 GB, free: 7.277 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001136/0.7468, allocations: 37.69 kB / 0.5814 GB, free: 7.234 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.7469, allocations: 77.11 kB / 0.5815 GB, free: 7.141 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.05e-05/0.7469, allocations: 85 kB / 0.5816 GB, free: 7.051 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.7469, allocations: 29.69 kB / 0.5816 GB, free: 7.016 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.976e-05/0.747, allocations: 80.98 kB / 0.5817 GB, free: 6.934 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.747, allocations: 11.84 kB / 0.5817 GB, free: 6.922 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.723e-06/0.747, allocations: 0 / 0.5817 GB, free: 6.922 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.579e-05/0.7471, allocations: 310.8 kB / 0.582 GB, free: 6.609 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.294e-06/0.7471, allocations: 4.031 kB / 0.582 GB, free: 6.605 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.088e-06/0.7471, allocations: 0 / 0.582 GB, free: 6.605 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.419e-05/0.7471, allocations: 4 kB / 0.582 GB, free: 6.602 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.7471, allocations: 0 / 0.582 GB, free: 6.602 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.24e-05/0.7472, allocations: 33.7 kB / 0.582 GB, free: 6.562 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.7472, allocations: 7.938 kB / 0.582 GB, free: 6.555 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.7472, allocations: 0 / 0.582 GB, free: 6.555 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.7472, allocations: 4 kB / 0.582 GB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.7472, allocations: 0 / 0.582 GB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.7473, allocations: 4 kB / 0.582 GB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.149e-05/0.7473, allocations: 8.078 kB / 0.582 GB, free: 6.539 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.85e-06/0.7473, allocations: 0 / 0.582 GB, free: 6.539 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.818e-05/0.7474, allocations: 130.6 kB / 0.5822 GB, free: 6.398 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.095e-06/0.7474, allocations: 3.938 kB / 0.5822 GB, free: 6.395 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.172e-05/0.7474, allocations: 10.95 kB / 0.5822 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.7474, allocations: 0 / 0.5822 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.7474, allocations: 0 / 0.5822 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.7474, allocations: 0 / 0.5822 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.588e-05/0.7475, allocations: 134.1 kB / 0.5823 GB, free: 6.215 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7475, allocations: 4 kB / 0.5823 GB, free: 6.211 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.7475, allocations: 0 / 0.5823 GB, free: 6.211 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.7475, allocations: 4 kB / 0.5823 GB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.7475, allocations: 0 / 0.5823 GB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.7475, allocations: 0 / 0.5823 GB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.7475, allocations: 0 / 0.5823 GB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.61e-05/0.7476, allocations: 57.14 kB / 0.5824 GB, free: 6.133 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001753/0.7478, allocations: 441.5 kB / 0.5828 GB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.356e-05/0.7478, allocations: 81.11 kB / 0.5829 GB, free: 5.582 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.7479, allocations: 3.938 kB / 0.5829 GB, free: 5.578 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.999e-06/0.7479, allocations: 3.984 kB / 0.5829 GB, free: 5.574 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.484e-05/0.7479, allocations: 3.906 kB / 0.5829 GB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-06/0.7479, allocations: 0 / 0.5829 GB, free: 5.57 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.317e-05/0.7479, allocations: 83.31 kB / 0.583 GB, free: 5.488 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007825/0.7487, allocations: 0 / 0.583 GB, free: 5.488 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 8.103e-05/0.7488, allocations: 91.25 kB / 0.583 GB, free: 5.391 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 5.703e-05/0.7489, allocations: 33.7 kB / 0.5831 GB, free: 5.352 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.7489, allocations: 0 / 0.5831 GB, free: 5.352 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.88e-05/0.7489, allocations: 29.7 kB / 0.5831 GB, free: 5.316 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.14e-05/0.749, allocations: 0 / 0.5831 GB, free: 5.316 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001264/0.7491, allocations: 52.12 kB / 0.5832 GB, free: 5.242 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002647/0.7494, allocations: 0.6802 MB / 0.5838 GB, free: 4.535 MB / 394.7 MB Notification: Performance of SimCode: time 3.41e-07/0.7494, allocations: 0 / 0.5838 GB, free: 4.535 MB / 394.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_TestBooleanFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_TestBooleanFunctions.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_res.mat does not exist to compare? outputFormat=mat