Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.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.RealSignals.AssignClock,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClock",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.001704/0.001703, allocations: 189.3 kB / 7.846 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.978/1.978, allocations: 205.2 MB / 213.4 MB, free: 13.94 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.001296/0.001296, allocations: 95 kB / 261.5 MB, free: 13.65 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.11/0.11, allocations: 12.6 MB / 322 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2725/0.3826, allocations: 56.5 MB / 378.5 MB, free: 75.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09405/0.4767, allocations: 50.37 MB / 428.9 MB, free: 25.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3626/0.8394, allocations: 76.92 MB / 0.4939 GB, free: 12.05 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003718/0.8398, allocations: 77.03 kB / 0.494 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.004673/0.8445, allocations: 1.257 MB / 0.4952 GB, free: 11.63 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.8446, allocations: 7.75 kB / 0.4952 GB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.588e-05/0.8447, allocations: 19.81 kB / 0.4953 GB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.8449, allocations: 182.8 kB / 0.4954 GB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.8449, allocations: 3.938 kB / 0.4954 GB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.8449, allocations: 3.969 kB / 0.4954 GB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.281e-05/0.845, allocations: 23.47 kB / 0.4955 GB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002555/0.8453, allocations: 112.7 kB / 0.4956 GB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.8453, allocations: 3.906 kB / 0.4956 GB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.8453, allocations: 0 / 0.4956 GB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.8453, allocations: 0 / 0.4956 GB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001295/0.8455, allocations: 150.6 kB / 0.4957 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.8456, allocations: 55.08 kB / 0.4958 GB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.469e-05/0.8457, allocations: 39.33 kB / 0.4958 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.8457, allocations: 0 / 0.4958 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.8458, allocations: 35.81 kB / 0.4958 GB, free: 11.12 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.8458, allocations: 0 / 0.4958 GB, free: 11.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001829/0.846, allocations: 67.06 kB / 0.4959 GB, free: 11.08 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.846, allocations: 51.41 kB / 0.496 GB, free: 11.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.8462, allocations: 124.7 kB / 0.4961 GB, free: 10.92 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.8462, allocations: 29.7 kB / 0.4961 GB, free: 10.89 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.031e-05/0.8462, allocations: 83.98 kB / 0.4962 GB, free: 10.8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.592e-05/0.8462, allocations: 5.422 kB / 0.4962 GB, free: 10.8 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.8462, allocations: 3.938 kB / 0.4962 GB, free: 10.8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.467e-05/0.8463, allocations: 314 kB / 0.4965 GB, free: 10.49 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.31e-05/0.8463, allocations: 15.56 kB / 0.4965 GB, free: 10.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.805e-05/0.8464, allocations: 59.38 kB / 0.4966 GB, free: 10.42 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.986e-05/0.8465, allocations: 12.8 kB / 0.4966 GB, free: 10.42 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.8465, allocations: 0 / 0.4966 GB, free: 10.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001386/0.8466, allocations: 79.98 kB / 0.4966 GB, free: 10.37 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.8466, allocations: 8.875 kB / 0.4967 GB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.8467, allocations: 0 / 0.4967 GB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.8467, allocations: 7.75 kB / 0.4967 GB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.8468, allocations: 17.28 kB / 0.4967 GB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.8468, allocations: 5.125 kB / 0.4967 GB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.935e-05/0.8469, allocations: 0 / 0.4967 GB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.8469, allocations: 3.875 kB / 0.4967 GB, free: 10.36 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 6.397e-05/0.847, allocations: 113 kB / 0.4968 GB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.8471, allocations: 67.31 kB / 0.4969 GB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.223e-05/0.8472, allocations: 13.59 kB / 0.4969 GB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.8472, allocations: 0 / 0.4969 GB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.8472, allocations: 1.5 kB / 0.4969 GB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.8472, allocations: 0 / 0.4969 GB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.31e-05/0.8473, allocations: 157.8 kB / 0.497 GB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.8473, allocations: 0 / 0.497 GB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.8475, allocations: 16.72 kB / 0.497 GB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.8475, allocations: 0.6094 kB / 0.497 GB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.8475, allocations: 7.844 kB / 0.4971 GB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.8475, allocations: 0.5625 kB / 0.4971 GB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.8475, allocations: 0 / 0.4971 GB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001425/0.8477, allocations: 96.3 kB / 0.4971 GB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001842/0.8479, allocations: 480.4 kB / 0.4976 GB, free: 9.52 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.052e-05/0.848, allocations: 96.38 kB / 0.4977 GB, free: 9.418 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.848, allocations: 3.812 kB / 0.4977 GB, free: 9.418 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.086e-05/0.848, allocations: 0.75 kB / 0.4977 GB, free: 9.418 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-06/0.848, allocations: 0 / 0.4977 GB, free: 9.418 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.8481, allocations: 0 / 0.4977 GB, free: 9.418 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.086e-05/0.8481, allocations: 101.9 kB / 0.4978 GB, free: 9.344 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001124/0.8493, allocations: 12.12 kB / 0.4978 GB, free: 9.34 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 9.143e-05/0.8494, allocations: 104.9 kB / 0.4979 GB, free: 9.242 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001181/0.8495, allocations: 43.36 kB / 0.4979 GB, free: 9.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8495, allocations: 0 / 0.4979 GB, free: 9.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.8495, allocations: 0 / 0.4979 GB, free: 9.23 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.8498, allocations: 36.44 kB / 0.498 GB, free: 9.227 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002952/0.8501, allocations: 101.8 kB / 0.4981 GB, free: 9.148 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.8504, allocations: 0.7184 MB / 0.4988 GB, free: 8.441 MB / 330.7 MB Notification: Performance of SimCode: time 9.12e-07/0.8504, allocations: 0.5 kB / 0.4988 GB, free: 8.441 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClock.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1)