Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.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.TimeBasedPulse,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedPulse",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.00182/0.00182, allocations: 191.7 kB / 7.848 MB, free: 2.48 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.905/1.905, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.001828/0.001827, allocations: 90.53 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.1/0.1, allocations: 12.59 MB / 322 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2764/0.3765, allocations: 56.49 MB / 378.5 MB, free: 75.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.4806, allocations: 50.38 MB / 428.9 MB, free: 25.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3411/0.8217, allocations: 77.25 MB / 0.4943 GB, free: 12.05 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.822, allocations: 72.77 kB / 0.4943 GB, free: 12.05 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.00617/0.8282, allocations: 1.351 MB / 0.4956 GB, free: 11.64 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.8283, allocations: 7.844 kB / 0.4957 GB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.594e-05/0.8283, allocations: 7.781 kB / 0.4957 GB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.8286, allocations: 171.8 kB / 0.4958 GB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.8286, allocations: 10.56 kB / 0.4958 GB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.8286, allocations: 4 kB / 0.4958 GB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001265/0.8287, allocations: 37.33 kB / 0.4959 GB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003141/0.8291, allocations: 115.7 kB / 0.496 GB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.8291, allocations: 2.812 kB / 0.496 GB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.8291, allocations: 3.906 kB / 0.496 GB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.8291, allocations: 3.984 kB / 0.496 GB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001391/0.8293, allocations: 141.6 kB / 0.4961 GB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.8295, allocations: 126.7 kB / 0.4963 GB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.884e-05/0.8296, allocations: 30.73 kB / 0.4963 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.8296, allocations: 0 / 0.4963 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.8297, allocations: 35.58 kB / 0.4963 GB, free: 11.03 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.753e-06/0.8297, allocations: 0 / 0.4963 GB, free: 11.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002083/0.8299, allocations: 59.89 kB / 0.4964 GB, free: 11 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.83, allocations: 51.41 kB / 0.4964 GB, free: 10.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.419e-05/0.8301, allocations: 104.6 kB / 0.4965 GB, free: 10.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.8301, allocations: 25.7 kB / 0.4965 GB, free: 10.81 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.73e-05/0.8301, allocations: 85.08 kB / 0.4966 GB, free: 10.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.494e-05/0.8301, allocations: 4.031 kB / 0.4966 GB, free: 10.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-06/0.8301, allocations: 0 / 0.4966 GB, free: 10.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.285e-05/0.8302, allocations: 315.7 kB / 0.4969 GB, free: 10.41 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.98e-05/0.8302, allocations: 7.875 kB / 0.4969 GB, free: 10.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.123e-05/0.8303, allocations: 43.55 kB / 0.497 GB, free: 10.36 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.681e-05/0.8303, allocations: 15.95 kB / 0.497 GB, free: 10.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.8304, allocations: 4.844 kB / 0.497 GB, free: 10.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001364/0.8305, allocations: 62.84 kB / 0.4971 GB, free: 10.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.8305, allocations: 3.844 kB / 0.4971 GB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.8305, allocations: 0 / 0.4971 GB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.8306, allocations: 5.125 kB / 0.4971 GB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.281e-05/0.8307, allocations: 11.44 kB / 0.4971 GB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.8307, allocations: 1.172 kB / 0.4971 GB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.382e-05/0.8308, allocations: 3.906 kB / 0.4971 GB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.056e-06/0.8308, allocations: 4.188 kB / 0.4971 GB, free: 10.31 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: 3 (assignClock1.y,assignClock1.u,pulse.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.171e-05/0.8309, allocations: 112.6 kB / 0.4972 GB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.831, allocations: 62.58 kB / 0.4973 GB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.134e-05/0.831, allocations: 13.33 kB / 0.4973 GB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.8311, allocations: 0.875 kB / 0.4973 GB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.8311, allocations: 0 / 0.4973 GB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.8311, allocations: 0 / 0.4973 GB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.372e-05/0.8312, allocations: 137.3 kB / 0.4974 GB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.8312, allocations: 3.906 kB / 0.4974 GB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.8313, allocations: 9.219 kB / 0.4974 GB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.8313, allocations: 3.625 kB / 0.4974 GB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.8314, allocations: 1.125 kB / 0.4974 GB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.8314, allocations: 3.812 kB / 0.4974 GB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.8314, allocations: 3.906 kB / 0.4974 GB, free: 9.988 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001528/0.8315, allocations: 87.02 kB / 0.4975 GB, free: 9.922 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001992/0.8318, allocations: 473.8 kB / 0.498 GB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.936e-05/0.8318, allocations: 78.33 kB / 0.498 GB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.8319, allocations: 0 / 0.498 GB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.832, allocations: 24.08 kB / 0.4981 GB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-06/0.8321, allocations: 0 / 0.4981 GB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.8321, allocations: 7.875 kB / 0.4981 GB, free: 9.371 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.723e-05/0.8321, allocations: 85.38 kB / 0.4981 GB, free: 9.297 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001086/0.8332, allocations: 7.719 kB / 0.4982 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 (pulse.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001268/0.8334, allocations: 98.41 kB / 0.4982 GB, free: 9.203 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002089/0.8336, allocations: 34.86 kB / 0.4983 GB, free: 9.199 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.8336, allocations: 384 / 0.4983 GB, free: 9.199 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.8336, allocations: 4 kB / 0.4983 GB, free: 9.195 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.834, allocations: 36.14 kB / 0.4983 GB, free: 9.188 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002924/0.8343, allocations: 79.09 kB / 0.4984 GB, free: 9.117 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/0.8345, allocations: 0.7036 MB / 0.4991 GB, free: 8.41 MB / 330.7 MB Notification: Performance of SimCode: time 2.224e-06/0.8346, allocations: 0 / 0.4991 GB, free: 8.41 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedPulse_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedPulse.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1)