Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.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.TestBooleanFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001194/0.001194, allocations: 190.4 kB / 7.803 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.565/1.565, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0009631/0.0009631, allocations: 99.41 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.2164/0.2164, allocations: 43.49 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2366/0.453, allocations: 64.96 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.8398, allocations: 58.84 MB / 476.6 MB, free: 5.172 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1432/0.9831, allocations: 84.13 MB / 0.5476 GB, free: 14.82 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003557/0.9835, allocations: 67.14 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.009978/0.9935, allocations: 3.015 MB / 0.5506 GB, free: 11.69 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.492e-05/0.9936, allocations: 12 kB / 0.5507 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.605e-05/0.9937, allocations: 3.984 kB / 0.5507 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.9939, allocations: 159.1 kB / 0.5508 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.9939, allocations: 0 / 0.5508 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.994, allocations: 7.922 kB / 0.5508 GB, free: 11.47 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.744e-05/0.994, allocations: 0 / 0.5508 GB, free: 11.47 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.441e-05/0.9941, allocations: 33.64 kB / 0.5509 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.9942, allocations: 4 kB / 0.5509 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.9942, allocations: 7.844 kB / 0.5509 GB, free: 11.42 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.9942, allocations: 0 / 0.5509 GB, free: 11.42 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002046/0.9944, allocations: 126.2 kB / 0.551 GB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.448e-05/0.9945, allocations: 22.61 kB / 0.551 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.377e-05/0.9945, allocations: 4.859 kB / 0.551 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.9945, allocations: 0 / 0.551 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.372e-05/0.9946, allocations: 64.27 kB / 0.5511 GB, free: 11.14 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.9946, allocations: 64 / 0.5511 GB, free: 11.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001929/0.9948, allocations: 33.64 kB / 0.5511 GB, free: 11.11 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/0.995, allocations: 81.11 kB / 0.5512 GB, free: 11.01 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.604e-05/0.9951, allocations: 85 kB / 0.5513 GB, free: 10.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.9951, allocations: 25.7 kB / 0.5513 GB, free: 10.88 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.347e-05/0.9951, allocations: 80.14 kB / 0.5514 GB, free: 10.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.9952, allocations: 3.906 kB / 0.5514 GB, free: 10.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-06/0.9952, allocations: 0 / 0.5514 GB, free: 10.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002082/0.9954, allocations: 322.9 kB / 0.5517 GB, free: 10.47 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.785e-06/0.9954, allocations: 0 / 0.5517 GB, free: 10.47 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.643e-06/0.9954, allocations: 4 kB / 0.5517 GB, free: 10.47 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.422e-05/0.9955, allocations: 0 / 0.5517 GB, free: 10.47 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.9955, allocations: 0 / 0.5517 GB, free: 10.47 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.638e-05/0.9955, allocations: 29.7 kB / 0.5517 GB, free: 10.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.9956, allocations: 4 kB / 0.5517 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.9956, allocations: 4 kB / 0.5517 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.9956, allocations: 96 / 0.5517 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.272e-06/0.9956, allocations: 7.938 kB / 0.5517 GB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.9956, allocations: 0 / 0.5517 GB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.473e-05/0.9957, allocations: 3.906 kB / 0.5517 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.9957, allocations: 0 / 0.5517 GB, free: 10.41 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 0.0001538/0.9958, allocations: 142.1 kB / 0.5519 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.783e-06/0.9959, allocations: 0 / 0.5519 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.289e-05/0.9959, allocations: 3 kB / 0.5519 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.9959, allocations: 0 / 0.5519 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.9959, allocations: 0 / 0.5519 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.9959, allocations: 4 kB / 0.5519 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.9961, allocations: 130.2 kB / 0.552 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.9961, allocations: 3.984 kB / 0.552 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.9961, allocations: 3.938 kB / 0.552 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.9961, allocations: 0 / 0.552 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.9961, allocations: 3.938 kB / 0.552 GB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.9961, allocations: 0 / 0.552 GB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.9961, allocations: 0 / 0.552 GB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.276e-05/0.9962, allocations: 65.05 kB / 0.5521 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002969/0.9965, allocations: 441.5 kB / 0.5525 GB, free: 9.547 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.026e-05/0.9966, allocations: 77.11 kB / 0.5526 GB, free: 9.453 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.9966, allocations: 0 / 0.5526 GB, free: 9.453 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.654e-06/0.9966, allocations: 0 / 0.5526 GB, free: 9.453 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/0.9967, allocations: 11.91 kB / 0.5526 GB, free: 9.441 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.9967, allocations: 8.047 kB / 0.5526 GB, free: 9.434 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.491e-05/0.9967, allocations: 75.28 kB / 0.5527 GB, free: 9.359 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008102/0.9976, allocations: 4 kB / 0.5527 GB, free: 9.355 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.0001512/0.9977, allocations: 91.25 kB / 0.5527 GB, free: 9.258 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.335e-05/0.9978, allocations: 25.7 kB / 0.5528 GB, free: 9.227 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.9978, allocations: 0 / 0.5528 GB, free: 9.227 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.371e-05/0.9979, allocations: 29.7 kB / 0.5528 GB, free: 9.191 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001188/0.998, allocations: 12.05 kB / 0.5528 GB, free: 9.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002004/0.9982, allocations: 44.06 kB / 0.5528 GB, free: 9.113 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003818/0.9986, allocations: 0.6841 MB / 0.5535 GB, free: 8.402 MB / 394.7 MB Notification: Performance of SimCode: time 5.31e-07/0.9986, allocations: 0 / 0.5535 GB, free: 8.402 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestBooleanFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestBooleanFunctions.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions_res.mat does not exist to compare? outputFormat=mat