Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.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.WorkInProgress.ForDocumentation.TheDifferentClocks,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_ForDocumentation_TheDifferentClocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_ForDocumentation_TheDifferentClocks",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.001688/0.001688, allocations: 185.8 kB / 7.842 MB, free: 2.516 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.903/1.903, allocations: 205.2 MB / 213.5 MB, free: 13.93 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.001274/0.001274, allocations: 97.91 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.1157/0.1157, allocations: 12.59 MB / 322 MB, free: 1 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.26/0.3758, allocations: 56.49 MB / 378.5 MB, free: 75.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.4771, allocations: 50.38 MB / 428.9 MB, free: 25.22 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3398/0.8169, allocations: 77.31 MB / 0.4943 GB, free: 11.91 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.8172, allocations: 56.36 kB / 0.4944 GB, free: 11.91 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.006478/0.8237, allocations: 1.606 MB / 0.4959 GB, free: 11.47 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.8238, allocations: 11.69 kB / 0.4959 GB, free: 11.47 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.094e-05/0.8238, allocations: 10.72 kB / 0.496 GB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.8241, allocations: 202.3 kB / 0.4961 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.8241, allocations: 3.906 kB / 0.4962 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.8241, allocations: 3.844 kB / 0.4962 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.661e-05/0.8242, allocations: 16.92 kB / 0.4962 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.8245, allocations: 115.1 kB / 0.4963 GB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.8245, allocations: 0 / 0.4963 GB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.8245, allocations: 0 / 0.4963 GB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.8246, allocations: 1.594 kB / 0.4963 GB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.8249, allocations: 234.8 kB / 0.4965 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.583e-05/0.825, allocations: 30.28 kB / 0.4965 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.801e-05/0.8251, allocations: 12.77 kB / 0.4965 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.8251, allocations: 0 / 0.4965 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.568e-05/0.8252, allocations: 50.45 kB / 0.4966 GB, free: 10.83 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.8252, allocations: 0 / 0.4966 GB, free: 10.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001745/0.8254, allocations: 53.44 kB / 0.4966 GB, free: 10.8 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.8254, allocations: 52.06 kB / 0.4967 GB, free: 10.73 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.8256, allocations: 131.8 kB / 0.4968 GB, free: 10.63 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.8256, allocations: 29.7 kB / 0.4969 GB, free: 10.6 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.525e-05/0.8256, allocations: 89.08 kB / 0.4969 GB, free: 10.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.497e-05/0.8257, allocations: 8.359 kB / 0.4969 GB, free: 10.51 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-06/0.8257, allocations: 0 / 0.4969 GB, free: 10.51 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.841e-05/0.8258, allocations: 324.5 kB / 0.4973 GB, free: 10.19 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.622e-05/0.8258, allocations: 7.156 kB / 0.4973 GB, free: 10.19 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.332e-05/0.8258, allocations: 18.17 kB / 0.4973 GB, free: 10.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.848e-05/0.8259, allocations: 9.344 kB / 0.4973 GB, free: 10.17 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.8259, allocations: 0 / 0.4973 GB, free: 10.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001084/0.826, allocations: 59.41 kB / 0.4973 GB, free: 10.13 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.826, allocations: 4.516 kB / 0.4973 GB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.826, allocations: 0 / 0.4973 GB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.8261, allocations: 7.875 kB / 0.4974 GB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.356e-05/0.8261, allocations: 4.562 kB / 0.4974 GB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.8262, allocations: 0 / 0.4974 GB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.8263, allocations: 14.03 kB / 0.4974 GB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.8263, allocations: 3.5 kB / 0.4974 GB, free: 10.12 MB / 330.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: 5 ($whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.898e-05/0.8264, allocations: 109.3 kB / 0.4975 GB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.833e-05/0.8264, allocations: 8.5 kB / 0.4975 GB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.285e-05/0.8265, allocations: 9.219 kB / 0.4975 GB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.8265, allocations: 3.844 kB / 0.4975 GB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.8265, allocations: 128 / 0.4975 GB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.8266, allocations: 4.938 kB / 0.4975 GB, free: 10 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004189/0.827, allocations: 301.2 kB / 0.4978 GB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.827, allocations: 0 / 0.4978 GB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.538e-06/0.827, allocations: 0.6094 kB / 0.4978 GB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.827, allocations: 0 / 0.4978 GB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.827, allocations: 4.375 kB / 0.4978 GB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.8271, allocations: 0 / 0.4978 GB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.8271, allocations: 4 kB / 0.4978 GB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001161/0.8272, allocations: 150.9 kB / 0.4979 GB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001816/0.8274, allocations: 0.515 MB / 0.4984 GB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.611e-05/0.8275, allocations: 96.09 kB / 0.4985 GB, free: 8.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.8276, allocations: 0.75 kB / 0.4985 GB, free: 8.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002755/0.8279, allocations: 13.91 kB / 0.4986 GB, free: 8.977 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.351e-05/0.828, allocations: 2.531 kB / 0.4986 GB, free: 8.977 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.828, allocations: 6.5 kB / 0.4986 GB, free: 8.977 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001422/0.8281, allocations: 111.9 kB / 0.4987 GB, free: 8.902 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001638/0.8298, allocations: 3.844 kB / 0.4987 GB, free: 8.902 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: 4 (booleanPulse.y,$whenCondition1,booleanPulse.pulseStart,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001508/0.83, allocations: 100 kB / 0.4988 GB, free: 8.812 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002236/0.8302, allocations: 25.81 kB / 0.4988 GB, free: 8.805 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.8303, allocations: 0 / 0.4988 GB, free: 8.805 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.759e-05/0.8303, allocations: 20.34 kB / 0.4988 GB, free: 8.801 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.8307, allocations: 13.09 kB / 0.4988 GB, free: 8.797 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004241/0.8312, allocations: 104.3 kB / 0.4989 GB, free: 8.723 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002801/0.8315, allocations: 0.7091 MB / 0.4996 GB, free: 8.02 MB / 330.7 MB Notification: Performance of SimCode: time 1.172e-06/0.8315, allocations: 4.062 kB / 0.4996 GB, free: 8.016 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_ForDocumentation_TheDifferentClocks_fmu --startTime=0 --stopTime=1.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_ForDocumentation_TheDifferentClocks.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe 2>&1)