Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",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 trunk/package.mo): time 0.001723/0.001723, allocations: 205.4 kB / 8.543 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 225.5 MB / 234.4 MB, free: 3.395 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001056/0.001056, allocations: 93.41 kB / 286.3 MB, free: 5.242 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1228/0.1239, allocations: 56.9 MB / 343.2 MB, free: 8.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.2338, allocations: 51.47 MB / 394.7 MB, free: 5.137 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2966/0.5304, allocations: 81.49 MB / 476.2 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.5308, allocations: 81.42 kB / 476.3 MB, free: 10.98 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.01927/0.5501, allocations: 7.405 MB / 483.7 MB, free: 5.578 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.5501, allocations: 8 kB / 483.7 MB, free: 5.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.9e-05/0.5502, allocations: 19.72 kB / 483.7 MB, free: 5.551 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.5506, allocations: 276.7 kB / 484 MB, free: 5.262 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.5506, allocations: 4 kB / 484 MB, free: 5.258 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.5506, allocations: 4 kB / 484 MB, free: 5.254 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001067/0.5508, allocations: 39.55 kB / 484 MB, free: 5.227 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.551, allocations: 131.5 kB / 484.2 MB, free: 5.094 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.551, allocations: 0 / 484.2 MB, free: 5.094 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.551, allocations: 0 / 484.2 MB, free: 5.094 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.551, allocations: 0 / 484.2 MB, free: 5.094 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004178/0.5515, allocations: 353 kB / 484.5 MB, free: 4.746 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.5516, allocations: 95.41 kB / 484.6 MB, free: 4.641 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.723e-05/0.5517, allocations: 46.2 kB / 484.6 MB, free: 4.598 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.5517, allocations: 0 / 484.6 MB, free: 4.598 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.637e-05/0.5518, allocations: 68.77 kB / 484.7 MB, free: 4.527 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.5518, allocations: 4 kB / 484.7 MB, free: 4.523 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002425/0.5521, allocations: 100.4 kB / 484.8 MB, free: 4.434 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.5521, allocations: 132.5 kB / 484.9 MB, free: 4.273 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.5524, allocations: 238 kB / 485.2 MB, free: 4.074 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.5524, allocations: 25.7 kB / 485.2 MB, free: 4.043 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.768e-05/0.5525, allocations: 99.91 kB / 485.3 MB, free: 3.949 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.5525, allocations: 19.55 kB / 485.3 MB, free: 3.934 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/0.5525, allocations: 4.062 kB / 485.3 MB, free: 3.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.614e-05/0.5526, allocations: 326.6 kB / 485.6 MB, free: 3.609 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.015e-05/0.5527, allocations: 19.38 kB / 485.7 MB, free: 3.598 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.146e-05/0.5527, allocations: 65.69 kB / 485.7 MB, free: 3.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.48e-05/0.5528, allocations: 27.58 kB / 485.8 MB, free: 3.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5528, allocations: 0 / 485.8 MB, free: 3.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001686/0.553, allocations: 101.1 kB / 485.8 MB, free: 3.41 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.553, allocations: 11.92 kB / 485.9 MB, free: 3.398 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.553, allocations: 0 / 485.9 MB, free: 3.398 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.553, allocations: 7.906 kB / 485.9 MB, free: 3.391 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.303e-05/0.5531, allocations: 11.94 kB / 485.9 MB, free: 3.379 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.5532, allocations: 4.125 kB / 485.9 MB, free: 3.375 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.413e-05/0.5532, allocations: 17.17 kB / 485.9 MB, free: 3.359 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.5533, allocations: 9.031 kB / 485.9 MB, free: 3.355 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 8.184e-05/0.5534, allocations: 105 kB / 486 MB, free: 3.246 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.033e-05/0.5534, allocations: 61.3 kB / 486.1 MB, free: 3.184 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/0.5536, allocations: 94.75 kB / 486.2 MB, free: 3.102 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.5537, allocations: 0 / 486.2 MB, free: 3.102 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.5537, allocations: 4.062 kB / 486.2 MB, free: 3.098 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.5537, allocations: 7.938 kB / 486.2 MB, free: 3.09 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.5539, allocations: 214.7 kB / 486.4 MB, free: 2.871 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.5539, allocations: 0 / 486.4 MB, free: 2.871 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.7e-05/0.5539, allocations: 11.98 kB / 486.4 MB, free: 2.859 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.5539, allocations: 0 / 486.4 MB, free: 2.859 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.554, allocations: 0 / 486.4 MB, free: 2.859 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.554, allocations: 4 kB / 486.4 MB, free: 2.855 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.554, allocations: 0 / 486.4 MB, free: 2.855 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001837/0.5542, allocations: 175.3 kB / 486.6 MB, free: 2.672 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002503/0.5544, allocations: 0.5397 MB / 487.1 MB, free: 2.117 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.425e-05/0.5545, allocations: 112.6 kB / 487.2 MB, free: 1.996 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.199e-05/0.5546, allocations: 11.89 kB / 487.2 MB, free: 1.984 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.532e-05/0.5547, allocations: 4 kB / 487.2 MB, free: 1.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-05/0.5547, allocations: 3.984 kB / 487.2 MB, free: 1.977 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.5547, allocations: 9.672 kB / 487.3 MB, free: 1.969 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001459/0.5549, allocations: 194.7 kB / 487.4 MB, free: 1.816 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008512/0.5557, allocations: 39.81 kB / 487.5 MB, free: 1.781 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007142/0.5565, allocations: 325.1 kB / 487.8 MB, free: 1.574 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.5567, allocations: 59.88 kB / 487.9 MB, free: 1.531 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5567, allocations: 256 / 487.9 MB, free: 1.531 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.356e-05/0.5568, allocations: 35.67 kB / 487.9 MB, free: 1.504 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.5572, allocations: 45.17 kB / 487.9 MB, free: 1.473 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005235/0.5577, allocations: 231.8 kB / 488.2 MB, free: 1.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/0.558, allocations: 0.7611 MB / 488.9 MB, free: 480 kB / 346.7 MB Notification: Performance of SimCode: time 3.01e-07/0.558, allocations: 0 / 488.9 MB, free: 480 kB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat does not exist to compare? outputFormat=mat