Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.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/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_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 3.2.3+maint.om/package.mo): time 0.001733/0.001733, allocations: 186.5 kB / 7.844 MB, free: 2.473 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.959/1.959, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.001231/0.001231, allocations: 90.02 kB / 261.5 MB, free: 13.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1337/0.1337, allocations: 12.6 MB / 322 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2583/0.3921, allocations: 56.49 MB / 378.5 MB, free: 75.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09138/0.4835, allocations: 50.37 MB / 428.9 MB, free: 25.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3391/0.8227, allocations: 81.02 MB / 0.4979 GB, free: 11.61 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003544/0.8231, allocations: 84.78 kB / 0.498 GB, free: 11.61 MB / 330.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.03135/0.8545, allocations: 6.376 MB / 0.5042 GB, free: 10.33 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.8545, allocations: 14.84 kB / 0.5042 GB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.093e-05/0.8546, allocations: 19.19 kB / 0.5043 GB, free: 10.31 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004756/0.8551, allocations: 259 kB / 0.5045 GB, free: 10.08 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.8552, allocations: 11.22 kB / 0.5045 GB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.8552, allocations: 3.906 kB / 0.5045 GB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001378/0.8553, allocations: 34.58 kB / 0.5046 GB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003001/0.8557, allocations: 136.9 kB / 0.5047 GB, free: 9.973 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.8557, allocations: 0 / 0.5047 GB, free: 9.973 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.8557, allocations: 7.969 kB / 0.5047 GB, free: 9.965 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.8557, allocations: 3.812 kB / 0.5047 GB, free: 9.965 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004892/0.8562, allocations: 339.1 kB / 0.505 GB, free: 9.672 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.8564, allocations: 98.47 kB / 0.5051 GB, free: 9.594 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.989e-05/0.8565, allocations: 45.59 kB / 0.5052 GB, free: 9.562 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.8565, allocations: 4 kB / 0.5052 GB, free: 9.559 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001061/0.8566, allocations: 65.66 kB / 0.5052 GB, free: 9.508 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.904e-06/0.8567, allocations: 0 / 0.5052 GB, free: 9.508 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002677/0.8569, allocations: 103.4 kB / 0.5053 GB, free: 9.453 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.857, allocations: 136.5 kB / 0.5055 GB, free: 9.289 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000311/0.8573, allocations: 231.6 kB / 0.5057 GB, free: 9.176 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.8574, allocations: 25.7 kB / 0.5057 GB, free: 9.145 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.884e-05/0.8574, allocations: 99.41 kB / 0.5058 GB, free: 9.055 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.8574, allocations: 19.58 kB / 0.5058 GB, free: 9.043 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.186e-06/0.8575, allocations: 0 / 0.5058 GB, free: 9.043 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.269e-05/0.8575, allocations: 330.1 kB / 0.5061 GB, free: 8.719 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.558e-05/0.8576, allocations: 21.84 kB / 0.5062 GB, free: 8.719 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.435e-05/0.8577, allocations: 64.81 kB / 0.5062 GB, free: 8.656 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.882e-05/0.8578, allocations: 23.05 kB / 0.5062 GB, free: 8.652 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.8578, allocations: 0 / 0.5062 GB, free: 8.652 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002161/0.858, allocations: 111.9 kB / 0.5063 GB, free: 8.594 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.8581, allocations: 11.83 kB / 0.5064 GB, free: 8.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.8581, allocations: 0 / 0.5064 GB, free: 8.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.8581, allocations: 3.844 kB / 0.5064 GB, free: 8.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.8582, allocations: 11.78 kB / 0.5064 GB, free: 8.586 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.8582, allocations: 3.844 kB / 0.5064 GB, free: 8.586 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.8584, allocations: 11.7 kB / 0.5064 GB, free: 8.578 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.8584, allocations: 3.875 kB / 0.5064 GB, free: 8.578 MB / 330.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,sample.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,superSample.y,superSample.u,sample.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.317e-05/0.8585, allocations: 117.1 kB / 0.5065 GB, free: 8.465 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.128e-05/0.8586, allocations: 56.3 kB / 0.5066 GB, free: 8.422 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000238/0.8588, allocations: 106.4 kB / 0.5067 GB, free: 8.363 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.8589, allocations: 3.844 kB / 0.5067 GB, free: 8.363 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.8589, allocations: 0 / 0.5067 GB, free: 8.363 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.882e-06/0.8589, allocations: 0 / 0.5067 GB, free: 8.363 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.8591, allocations: 206.4 kB / 0.5069 GB, free: 8.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.8591, allocations: 0 / 0.5069 GB, free: 8.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.178e-05/0.8591, allocations: 3.906 kB / 0.5069 GB, free: 8.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.8592, allocations: 11.84 kB / 0.5069 GB, free: 8.172 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.8592, allocations: 3.984 kB / 0.5069 GB, free: 8.168 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.8592, allocations: 0 / 0.5069 GB, free: 8.168 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.8592, allocations: 3.906 kB / 0.5069 GB, free: 8.168 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002249/0.8594, allocations: 166.2 kB / 0.507 GB, free: 8.031 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003568/0.8598, allocations: 0.5328 MB / 0.5076 GB, free: 7.527 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.8599, allocations: 127.2 kB / 0.5077 GB, free: 7.406 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.738e-05/0.86, allocations: 0 / 0.5077 GB, free: 7.406 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.8601, allocations: 3.906 kB / 0.5077 GB, free: 7.406 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.8602, allocations: 15.41 kB / 0.5077 GB, free: 7.398 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.8602, allocations: 3.906 kB / 0.5077 GB, free: 7.398 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.000221/0.8604, allocations: 186.1 kB / 0.5079 GB, free: 7.305 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00122/0.8617, allocations: 34.45 kB / 0.5079 GB, free: 7.297 MB / 330.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,sample.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample.y,sample.y,superSample.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.0007862/0.8625, allocations: 331.4 kB / 0.5082 GB, free: 7.047 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002371/0.8627, allocations: 61.52 kB / 0.5083 GB, free: 7.039 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.8627, allocations: 0 / 0.5083 GB, free: 7.039 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.395e-05/0.8628, allocations: 29.41 kB / 0.5083 GB, free: 7.039 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004698/0.8633, allocations: 46.2 kB / 0.5084 GB, free: 7.023 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006148/0.8639, allocations: 235 kB / 0.5086 GB, free: 6.879 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000269/0.8642, allocations: 0.7553 MB / 0.5093 GB, free: 6.145 MB / 330.7 MB Notification: Performance of SimCode: time 7.32e-07/0.8642, allocations: 0 / 0.5093 GB, free: 6.145 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1)