Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.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.AssignClockVectorized,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClockVectorized",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.001694/0.001693, allocations: 185 kB / 7.842 MB, free: 2.32 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.943/1.943, allocations: 205.2 MB / 213.4 MB, free: 13.88 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.53 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.1122/0.1122, allocations: 12.59 MB / 322 MB, free: 1.008 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2674/0.3797, allocations: 56.5 MB / 378.5 MB, free: 75.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.4902, allocations: 50.37 MB / 428.9 MB, free: 25.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3669/0.8572, allocations: 77.04 MB / 0.494 GB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.8575, allocations: 71.19 kB / 0.4941 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.006307/0.8638, allocations: 1.653 MB / 0.4957 GB, free: 11.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.8639, allocations: 12.8 kB / 0.4957 GB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.148e-05/0.8639, allocations: 11.62 kB / 0.4958 GB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.8642, allocations: 201.8 kB / 0.4959 GB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.8642, allocations: 3.812 kB / 0.4959 GB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.8642, allocations: 4.359 kB / 0.496 GB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001453/0.8644, allocations: 31.75 kB / 0.496 GB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004309/0.8648, allocations: 202.2 kB / 0.4962 GB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.8649, allocations: 3.938 kB / 0.4962 GB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.8649, allocations: 0 / 0.4962 GB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.8649, allocations: 0 / 0.4962 GB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000153/0.8651, allocations: 168 kB / 0.4963 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002661/0.8653, allocations: 117.2 kB / 0.4965 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.8655, allocations: 66.25 kB / 0.4965 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.8655, allocations: 0 / 0.4965 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.8656, allocations: 35.81 kB / 0.4966 GB, free: 10.88 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.8656, allocations: 0 / 0.4966 GB, free: 10.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002783/0.8658, allocations: 113 kB / 0.4967 GB, free: 10.84 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.8659, allocations: 59.92 kB / 0.4967 GB, free: 10.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.866, allocations: 124.3 kB / 0.4968 GB, free: 10.68 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.8661, allocations: 25.7 kB / 0.4969 GB, free: 10.64 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.436e-05/0.8661, allocations: 88.86 kB / 0.4969 GB, free: 10.56 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.8661, allocations: 5.516 kB / 0.4969 GB, free: 10.56 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/0.8661, allocations: 0 / 0.4969 GB, free: 10.56 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.131e-05/0.8662, allocations: 327.6 kB / 0.4973 GB, free: 10.24 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.174e-05/0.8663, allocations: 21.47 kB / 0.4973 GB, free: 10.24 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.684e-05/0.8664, allocations: 107.6 kB / 0.4974 GB, free: 10.11 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.918e-05/0.8665, allocations: 45.61 kB / 0.4974 GB, free: 10.1 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.8665, allocations: 5.297 kB / 0.4974 GB, free: 10.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002511/0.8667, allocations: 122.5 kB / 0.4975 GB, free: 10.04 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.8668, allocations: 7.938 kB / 0.4976 GB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.162e-05/0.8668, allocations: 3.844 kB / 0.4976 GB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.8668, allocations: 7.719 kB / 0.4976 GB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.867, allocations: 38.42 kB / 0.4976 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.036e-06/0.8671, allocations: 3.969 kB / 0.4976 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.777e-05/0.8672, allocations: 7.781 kB / 0.4976 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.8672, allocations: 12.8 kB / 0.4976 GB, free: 10.02 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.842e-05/0.8673, allocations: 112.2 kB / 0.4977 GB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002035/0.8675, allocations: 106 kB / 0.4978 GB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.075e-05/0.8676, allocations: 20.28 kB / 0.4979 GB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.8676, allocations: 3.844 kB / 0.4979 GB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.8676, allocations: 0 / 0.4979 GB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.8676, allocations: 1.688 kB / 0.4979 GB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.8677, allocations: 169 kB / 0.498 GB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.8678, allocations: 0 / 0.498 GB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.868, allocations: 21.69 kB / 0.498 GB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.868, allocations: 0.9844 kB / 0.498 GB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.868, allocations: 0 / 0.498 GB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.868, allocations: 7.781 kB / 0.4981 GB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.868, allocations: 4 kB / 0.4981 GB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002259/0.8683, allocations: 134.7 kB / 0.4982 GB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002782/0.8685, allocations: 0.5131 MB / 0.4987 GB, free: 9.164 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.447e-05/0.8687, allocations: 101.4 kB / 0.4988 GB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.8687, allocations: 0 / 0.4988 GB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.832e-05/0.8688, allocations: 4.516 kB / 0.4988 GB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-06/0.8688, allocations: 0 / 0.4988 GB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.8688, allocations: 7.484 kB / 0.4988 GB, free: 9.059 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.936e-05/0.8689, allocations: 111 kB / 0.4989 GB, free: 8.984 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001226/0.8701, allocations: 11.75 kB / 0.4989 GB, free: 8.984 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 (16): * Single equations (assignments): 16 * 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.0001284/0.8703, allocations: 95.16 kB / 0.499 GB, free: 8.891 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000232/0.8705, allocations: 83.61 kB / 0.4991 GB, free: 8.875 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.8705, allocations: 7.875 kB / 0.4991 GB, free: 8.871 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.8705, allocations: 0 / 0.4991 GB, free: 8.871 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004874/0.871, allocations: 63.2 kB / 0.4991 GB, free: 8.863 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004664/0.8715, allocations: 167.5 kB / 0.4993 GB, free: 8.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002385/0.8718, allocations: 0.7394 MB / 0.5 GB, free: 8.066 MB / 330.7 MB Notification: Performance of SimCode: time 1.232e-06/0.8718, allocations: 0 / 0.5 GB, free: 8.066 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClockVectorized.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1)