Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",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.001562/0.001563, allocations: 203.9 kB / 8.541 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.676/1.676, allocations: 225.5 MB / 234.4 MB, free: 3.418 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001212/0.001212, allocations: 97.91 kB / 286.3 MB, free: 5.246 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1497/0.1509, allocations: 56.9 MB / 343.2 MB, free: 8.605 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09841/0.2494, allocations: 51.47 MB / 394.7 MB, free: 5.078 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2715/0.521, allocations: 76.33 MB / 471 MB, free: 14.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/0.5212, allocations: 75.16 kB / 471.1 MB, free: 14.79 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.002376/0.5236, allocations: 1.048 MB / 472.2 MB, free: 14.05 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.5237, allocations: 8 kB / 472.2 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.249e-05/0.5237, allocations: 10.72 kB / 472.2 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.5239, allocations: 184.9 kB / 472.4 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.5239, allocations: 3.938 kB / 472.4 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.5239, allocations: 6.344 kB / 472.4 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.025e-05/0.524, allocations: 7.875 kB / 472.4 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.5241, allocations: 81 kB / 472.5 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.5241, allocations: 0 / 472.5 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.5241, allocations: 0 / 472.5 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.5242, allocations: 0 / 472.5 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000226/0.5244, allocations: 240 kB / 472.7 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.081e-05/0.5244, allocations: 35.41 kB / 472.7 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.34e-05/0.5245, allocations: 16.47 kB / 472.7 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.5245, allocations: 4.719 kB / 472.7 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.5245, allocations: 35.3 kB / 472.8 MB, free: 13.36 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.5245, allocations: 4 kB / 472.8 MB, free: 13.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001359/0.5247, allocations: 43.98 kB / 472.8 MB, free: 13.31 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.5247, allocations: 81.05 kB / 472.9 MB, free: 13.21 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.431e-05/0.5248, allocations: 120.1 kB / 473 MB, free: 13.11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.532e-06/0.5248, allocations: 25.7 kB / 473 MB, free: 13.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.339e-05/0.5248, allocations: 87.45 kB / 473.1 MB, free: 12.99 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.564e-06/0.5248, allocations: 3.906 kB / 473.1 MB, free: 12.98 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/0.5248, allocations: 5.094 kB / 473.1 MB, free: 12.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.607e-05/0.5249, allocations: 318.7 kB / 473.5 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.217e-06/0.5249, allocations: 0 / 473.5 MB, free: 12.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.268e-05/0.5249, allocations: 16.97 kB / 473.5 MB, free: 12.64 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.179e-05/0.5249, allocations: 0 / 473.5 MB, free: 12.64 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.525, allocations: 0 / 473.5 MB, free: 12.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.415e-05/0.525, allocations: 49.11 kB / 473.5 MB, free: 12.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.525, allocations: 9.781 kB / 473.5 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.525, allocations: 0.875 kB / 473.5 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.5251, allocations: 3.938 kB / 473.5 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.259e-05/0.5251, allocations: 0 / 473.5 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.5251, allocations: 5.5 kB / 473.5 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.114e-05/0.5251, allocations: 0 / 473.5 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.5251, allocations: 3.469 kB / 473.5 MB, free: 12.58 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 4.178e-05/0.5252, allocations: 110.7 kB / 473.7 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.806e-05/0.5252, allocations: 37.64 kB / 473.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.019e-05/0.5253, allocations: 7.469 kB / 473.7 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.5253, allocations: 0 / 473.7 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.5253, allocations: 1.125 kB / 473.7 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.5253, allocations: 3.328 kB / 473.7 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.5254, allocations: 145 kB / 473.8 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.5254, allocations: 0 / 473.8 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.18e-06/0.5254, allocations: 7.938 kB / 473.8 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.5254, allocations: 3.281 kB / 473.9 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.5254, allocations: 0 / 473.9 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.5255, allocations: 7.969 kB / 473.9 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5255, allocations: 0 / 473.9 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.003e-05/0.5255, allocations: 150.3 kB / 474 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001087/0.5257, allocations: 0.5325 MB / 474.5 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.723e-05/0.5257, allocations: 90.72 kB / 474.6 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.5257, allocations: 7.906 kB / 474.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.022e-05/0.5258, allocations: 0 / 474.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-05/0.5258, allocations: 4 kB / 474.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.5258, allocations: 0 / 474.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.956e-05/0.5259, allocations: 105.4 kB / 474.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007733/0.5267, allocations: 4 kB / 474.7 MB, free: 11.32 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 7.616e-05/0.5267, allocations: 95.25 kB / 474.8 MB, free: 11.21 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 5.513e-05/0.5268, allocations: 10.66 kB / 474.8 MB, free: 11.21 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.5268, allocations: 6.344 kB / 474.9 MB, free: 11.21 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.005e-05/0.5268, allocations: 3.938 kB / 474.9 MB, free: 11.2 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.5271, allocations: 11.22 kB / 474.9 MB, free: 11.2 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002025/0.5273, allocations: 90.66 kB / 475 MB, free: 11.09 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.5274, allocations: 0.6983 MB / 475.7 MB, free: 10.37 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5274, allocations: 0 / 475.7 MB, free: 10.37 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1)