Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold.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.Hold,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Hold",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.002499/0.0025, allocations: 193 kB / 7.851 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.027/2.027, 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.002307/0.002307, allocations: 89.5 kB / 261.5 MB, free: 13.61 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.1147/0.1147, allocations: 12.59 MB / 322 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2571/0.3719, allocations: 56.5 MB / 378.5 MB, free: 75.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09414/0.4661, allocations: 50.37 MB / 428.9 MB, free: 25.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3265/0.7927, allocations: 81.11 MB / 0.498 GB, free: 11.8 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/0.7931, allocations: 82.58 kB / 0.4981 GB, free: 11.8 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.02498/0.8181, allocations: 5.933 MB / 0.5039 GB, free: 10.6 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.8181, allocations: 7.562 kB / 0.5039 GB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.786e-05/0.8182, allocations: 27.38 kB / 0.5039 GB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005069/0.8187, allocations: 268.3 kB / 0.5042 GB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.8188, allocations: 0 / 0.5042 GB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.8188, allocations: 3.969 kB / 0.5042 GB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001527/0.819, allocations: 42.14 kB / 0.5042 GB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003402/0.8193, allocations: 143.1 kB / 0.5044 GB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.8193, allocations: 0 / 0.5044 GB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.8194, allocations: 3.906 kB / 0.5044 GB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.8194, allocations: 4 kB / 0.5044 GB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005827/0.82, allocations: 423.7 kB / 0.5048 GB, free: 9.863 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.8202, allocations: 128.9 kB / 0.5049 GB, free: 9.754 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.799e-05/0.8203, allocations: 48.78 kB / 0.5049 GB, free: 9.723 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.8204, allocations: 7.203 kB / 0.5049 GB, free: 9.719 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001446/0.8205, allocations: 92.36 kB / 0.505 GB, free: 9.641 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 3.507e-06/0.8205, allocations: 0 / 0.505 GB, free: 9.641 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003344/0.8209, allocations: 114.3 kB / 0.5051 GB, free: 9.582 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/0.821, allocations: 160.8 kB / 0.5053 GB, free: 9.391 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003433/0.8213, allocations: 238.6 kB / 0.5055 GB, free: 9.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.359e-05/0.8214, allocations: 33.62 kB / 0.5056 GB, free: 9.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.977e-05/0.8215, allocations: 98.94 kB / 0.5057 GB, free: 9.141 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.8215, allocations: 19.28 kB / 0.5057 GB, free: 9.129 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-06/0.8215, allocations: 0 / 0.5057 GB, free: 9.129 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.329e-05/0.8216, allocations: 329.5 kB / 0.506 GB, free: 8.809 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.448e-05/0.8217, allocations: 25.09 kB / 0.506 GB, free: 8.805 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.822e-05/0.8218, allocations: 78.89 kB / 0.5061 GB, free: 8.734 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.524e-05/0.8219, allocations: 22 kB / 0.5061 GB, free: 8.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.8219, allocations: 3.906 kB / 0.5061 GB, free: 8.727 MB / 330.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002607/0.8222, allocations: 118.1 kB / 0.5062 GB, free: 8.672 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.8222, allocations: 3.969 kB / 0.5062 GB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.8222, allocations: 0 / 0.5062 GB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.8222, allocations: 3.844 kB / 0.5062 GB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.8224, allocations: 19.61 kB / 0.5062 GB, free: 8.664 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.8224, allocations: 0 / 0.5062 GB, free: 8.664 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.8226, allocations: 15.72 kB / 0.5063 GB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.8226, allocations: 7.766 kB / 0.5063 GB, free: 8.652 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,sample.u,shiftSample.y,hold.u,hold.y,shiftSample.u,sample.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.8227, allocations: 104.8 kB / 0.5064 GB, free: 8.547 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.8228, allocations: 70.92 kB / 0.5064 GB, free: 8.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002574/0.8231, allocations: 92.86 kB / 0.5065 GB, free: 8.453 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.8231, allocations: 3.844 kB / 0.5065 GB, free: 8.453 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.8231, allocations: 0 / 0.5065 GB, free: 8.453 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.8231, allocations: 7.906 kB / 0.5065 GB, free: 8.449 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.8234, allocations: 207.2 kB / 0.5067 GB, free: 8.266 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.8234, allocations: 0 / 0.5067 GB, free: 8.266 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.857e-05/0.8234, allocations: 11.45 kB / 0.5067 GB, free: 8.258 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.8235, allocations: 7.719 kB / 0.5068 GB, free: 8.254 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.8235, allocations: 0 / 0.5068 GB, free: 8.254 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.8235, allocations: 3.844 kB / 0.5068 GB, free: 8.254 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.8235, allocations: 80 / 0.5068 GB, free: 8.254 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002757/0.8238, allocations: 201.1 kB / 0.5069 GB, free: 8.086 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003276/0.8241, allocations: 0.5795 MB / 0.5075 GB, free: 7.543 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.8243, allocations: 111.4 kB / 0.5076 GB, free: 7.434 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.035e-05/0.8243, allocations: 3.844 kB / 0.5076 GB, free: 7.434 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.8245, allocations: 15.58 kB / 0.5076 GB, free: 7.422 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.8245, allocations: 7.719 kB / 0.5076 GB, free: 7.418 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.8246, allocations: 7.25 kB / 0.5077 GB, free: 7.418 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0002384/0.8248, allocations: 182.2 kB / 0.5078 GB, free: 7.324 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001223/0.826, allocations: 41.89 kB / 0.5079 GB, free: 7.312 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,sample.u,hold.y,hold.u,shiftSample.y,sample.y,shiftSample.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * 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.0008636/0.8269, allocations: 317.8 kB / 0.5082 GB, free: 7.074 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002883/0.8272, allocations: 75.61 kB / 0.5082 GB, free: 7.062 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.8273, allocations: 0 / 0.5082 GB, free: 7.062 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.632e-05/0.8274, allocations: 34.17 kB / 0.5083 GB, free: 7.055 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005705/0.8279, allocations: 53.59 kB / 0.5083 GB, free: 7.043 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006837/0.8286, allocations: 243.3 kB / 0.5086 GB, free: 6.891 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002903/0.8289, allocations: 0.7714 MB / 0.5093 GB, free: 6.148 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/0.829, allocations: 0 / 0.5093 GB, free: 6.148 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Hold_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Hold.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1)