Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.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.TimeBasedStep,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedStep",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.001656/0.001656, 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.876/1.876, 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.001323/0.001322, allocations: 94.84 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.09879/0.09879, allocations: 12.59 MB / 322 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2576/0.3565, allocations: 56.49 MB / 378.5 MB, free: 75.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09774/0.4543, allocations: 50.37 MB / 428.9 MB, free: 25.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3287/0.783, allocations: 76.53 MB / 0.4935 GB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003526/0.7835, allocations: 72.06 kB / 0.4936 GB, free: 11.88 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.003014/0.7865, allocations: 0.6791 MB / 0.4943 GB, free: 11.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.7866, allocations: 8.812 kB / 0.4943 GB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.7866, allocations: 4.438 kB / 0.4943 GB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.7869, allocations: 173.5 kB / 0.4945 GB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.7869, allocations: 8.922 kB / 0.4945 GB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.7869, allocations: 3.844 kB / 0.4945 GB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001009/0.7871, allocations: 8.391 kB / 0.4945 GB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/0.7874, allocations: 90.83 kB / 0.4946 GB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.7874, allocations: 3.906 kB / 0.4946 GB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.7874, allocations: 7.922 kB / 0.4946 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.7874, allocations: 0 / 0.4946 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001503/0.7876, allocations: 138.5 kB / 0.4947 GB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.7878, allocations: 33.83 kB / 0.4947 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.473e-05/0.7878, allocations: 22.59 kB / 0.4948 GB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/0.7879, allocations: 0 / 0.4948 GB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.7879, allocations: 30.56 kB / 0.4948 GB, free: 11.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.094e-06/0.7879, allocations: 0 / 0.4948 GB, free: 11.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002077/0.7882, allocations: 51 kB / 0.4948 GB, free: 10.98 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.7882, allocations: 56.75 kB / 0.4949 GB, free: 10.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.792e-05/0.7883, allocations: 98.81 kB / 0.495 GB, free: 10.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.7884, allocations: 25.7 kB / 0.495 GB, free: 10.79 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.134e-05/0.7884, allocations: 83.39 kB / 0.4951 GB, free: 10.71 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.786e-06/0.7884, allocations: 1.359 kB / 0.4951 GB, free: 10.71 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.7884, allocations: 0 / 0.4951 GB, free: 10.71 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.795e-05/0.7885, allocations: 319.6 kB / 0.4954 GB, free: 10.4 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.703e-05/0.7886, allocations: 4 kB / 0.4954 GB, free: 10.39 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.646e-05/0.7886, allocations: 23.31 kB / 0.4954 GB, free: 10.36 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.399e-05/0.7887, allocations: 8.891 kB / 0.4954 GB, free: 10.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.7887, allocations: 3.938 kB / 0.4954 GB, free: 10.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001385/0.7888, allocations: 51.7 kB / 0.4955 GB, free: 10.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.7889, allocations: 7.812 kB / 0.4955 GB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.7889, allocations: 0 / 0.4955 GB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.7889, allocations: 0 / 0.4955 GB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.8e-05/0.789, allocations: 9.562 kB / 0.4955 GB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.789, allocations: 0 / 0.4955 GB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.914e-05/0.7891, allocations: 7.969 kB / 0.4955 GB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.7891, allocations: 0 / 0.4955 GB, free: 10.31 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.125e-05/0.7892, allocations: 109.6 kB / 0.4956 GB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.7893, allocations: 50.98 kB / 0.4957 GB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.784e-05/0.7894, allocations: 5.141 kB / 0.4957 GB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.309e-06/0.7894, allocations: 0 / 0.4957 GB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.7894, allocations: 0 / 0.4957 GB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.7894, allocations: 1.359 kB / 0.4957 GB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.809e-05/0.7896, allocations: 141.5 kB / 0.4958 GB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.7896, allocations: 0 / 0.4958 GB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.314e-05/0.7896, allocations: 7.812 kB / 0.4958 GB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.7896, allocations: 3.938 kB / 0.4958 GB, free: 9.988 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.7897, allocations: 1.359 kB / 0.4958 GB, free: 9.988 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.7897, allocations: 4 kB / 0.4958 GB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.7897, allocations: 0 / 0.4958 GB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001371/0.7899, allocations: 74.12 kB / 0.4959 GB, free: 9.918 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002005/0.7901, allocations: 453.3 kB / 0.4963 GB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.34e-05/0.7901, allocations: 80.95 kB / 0.4964 GB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.7902, allocations: 4 kB / 0.4964 GB, free: 9.379 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.305e-05/0.7903, allocations: 5.25 kB / 0.4964 GB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.302e-06/0.7903, allocations: 3.906 kB / 0.4964 GB, free: 9.371 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.7903, allocations: 3.844 kB / 0.4964 GB, free: 9.371 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.428e-05/0.7903, allocations: 83.61 kB / 0.4965 GB, free: 9.297 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002078/0.7924, allocations: 3.938 kB / 0.4965 GB, free: 9.297 MB / 330.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: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 0.000143/0.7926, allocations: 94.62 kB / 0.4966 GB, free: 9.207 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001353/0.7928, allocations: 20.05 kB / 0.4966 GB, free: 9.203 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.7928, allocations: 0 / 0.4966 GB, free: 9.203 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.894e-06/0.7928, allocations: 0 / 0.4966 GB, free: 9.203 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.7931, allocations: 16.16 kB / 0.4966 GB, free: 9.199 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002661/0.7934, allocations: 68.77 kB / 0.4967 GB, free: 9.129 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002172/0.7936, allocations: 0.6973 MB / 0.4974 GB, free: 8.426 MB / 330.7 MB Notification: Performance of SimCode: time 1.302e-06/0.7936, allocations: 0 / 0.4974 GB, free: 8.426 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedStep.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1)