Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.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.Tests.TestSuperSampleClock,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSuperSampleClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSuperSampleClock",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.002435/0.002435, allocations: 191.5 kB / 7.847 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.979/1.979, allocations: 205.2 MB / 213.4 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.001346/0.001346, allocations: 87.7 kB / 261.5 MB, free: 13.64 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.1375/0.1375, allocations: 12.58 MB / 322 MB, free: 1.008 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2827/0.4203, allocations: 56.5 MB / 378.5 MB, free: 75.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09684/0.5172, allocations: 50.37 MB / 428.9 MB, free: 25.22 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3406/0.8579, allocations: 75.36 MB / 0.4924 GB, free: 11.94 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001964/0.8581, allocations: 54.91 kB / 0.4925 GB, free: 11.94 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.005669/0.8638, allocations: 1.374 MB / 0.4938 GB, free: 11.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.8639, allocations: 7.656 kB / 0.4938 GB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.8639, allocations: 3.906 kB / 0.4938 GB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.8641, allocations: 169.4 kB / 0.494 GB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.8641, allocations: 0 / 0.494 GB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.8641, allocations: 4 kB / 0.494 GB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.814e-05/0.8642, allocations: 4.375 kB / 0.494 GB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.8644, allocations: 155 kB / 0.4941 GB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.8644, allocations: 75.28 kB / 0.4942 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.717e-05/0.8644, allocations: 150.6 kB / 0.4943 GB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.715e-05/0.8645, allocations: 155.1 kB / 0.4945 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/0.8647, allocations: 427.5 kB / 0.4949 GB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.811e-05/0.8647, allocations: 169.1 kB / 0.4951 GB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.33e-05/0.8648, allocations: 80.94 kB / 0.4951 GB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.8648, allocations: 75.28 kB / 0.4952 GB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.8648, allocations: 109.8 kB / 0.4953 GB, free: 9.949 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.623e-06/0.8648, allocations: 4 kB / 0.4953 GB, free: 9.945 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 7.533e-05/0.8649, allocations: 30.47 kB / 0.4953 GB, free: 9.914 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/0.865, allocations: 52.16 kB / 0.4954 GB, free: 9.852 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.006e-05/0.865, allocations: 85 kB / 0.4955 GB, free: 9.762 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.176e-06/0.865, allocations: 26.36 kB / 0.4955 GB, free: 9.73 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.475e-05/0.8651, allocations: 80.14 kB / 0.4956 GB, free: 9.648 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.8651, allocations: 0 / 0.4956 GB, free: 9.648 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-07/0.8651, allocations: 0 / 0.4956 GB, free: 9.648 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.055e-05/0.8652, allocations: 319.5 kB / 0.4959 GB, free: 9.328 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.779e-06/0.8652, allocations: 3.938 kB / 0.4959 GB, free: 9.324 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.476e-06/0.8652, allocations: 3.875 kB / 0.4959 GB, free: 9.324 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.783e-05/0.8652, allocations: 75.28 kB / 0.496 GB, free: 9.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.527e-05/0.8652, allocations: 79.78 kB / 0.496 GB, free: 9.172 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.398e-05/0.8653, allocations: 26.22 kB / 0.4961 GB, free: 9.141 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.8653, allocations: 8.422 kB / 0.4961 GB, free: 9.141 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.8654, allocations: 79.16 kB / 0.4961 GB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.284e-05/0.8654, allocations: 159.2 kB / 0.4963 GB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.613e-05/0.8654, allocations: 76.55 kB / 0.4964 GB, free: 8.836 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.307e-05/0.8655, allocations: 155.2 kB / 0.4965 GB, free: 8.688 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.245e-05/0.8656, allocations: 79.48 kB / 0.4966 GB, free: 8.609 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.8656, allocations: 75.84 kB / 0.4967 GB, free: 8.535 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (0): * Single equations (assignments): 0 * 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.788e-05/0.8657, allocations: 264 kB / 0.4969 GB, free: 8.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.118e-05/0.8657, allocations: 105.5 kB / 0.497 GB, free: 8.164 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.959e-05/0.8658, allocations: 116.4 kB / 0.4971 GB, free: 8.043 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-05/0.8658, allocations: 181.4 kB / 0.4973 GB, free: 7.863 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.47e-05/0.8659, allocations: 178.9 kB / 0.4975 GB, free: 7.684 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-05/0.8659, allocations: 184.9 kB / 0.4976 GB, free: 7.5 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.8661, allocations: 383.2 kB / 0.498 GB, free: 7.082 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.119e-05/0.8661, allocations: 101.8 kB / 0.4981 GB, free: 6.977 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.043e-05/0.8661, allocations: 105.6 kB / 0.4982 GB, free: 6.867 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.555e-05/0.8662, allocations: 181 kB / 0.4984 GB, free: 6.688 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.658e-05/0.8662, allocations: 177 kB / 0.4985 GB, free: 6.508 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.285e-05/0.8663, allocations: 184.8 kB / 0.4987 GB, free: 6.324 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.121e-05/0.8663, allocations: 180.3 kB / 0.4989 GB, free: 6.141 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.865e-05/0.8664, allocations: 301.9 kB / 0.4992 GB, free: 5.828 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002555/0.8667, allocations: 0.6712 MB / 0.4998 GB, free: 21.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.736e-05/0.8668, allocations: 186.8 kB / 0.5 GB, free: 20.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.819e-05/0.8669, allocations: 184.9 kB / 0.5002 GB, free: 20.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.761e-05/0.867, allocations: 105.4 kB / 0.5003 GB, free: 20.64 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.037e-05/0.8671, allocations: 185 kB / 0.5005 GB, free: 20.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.688e-05/0.8671, allocations: 101.8 kB / 0.5006 GB, free: 20.35 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.652e-05/0.8672, allocations: 87.03 kB / 0.5007 GB, free: 20.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001296/0.8685, allocations: 0.7969 kB / 0.5007 GB, free: 20.27 MB / 346.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 (0): * Single equations (assignments): 0 * 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.0001521/0.8687, allocations: 172.4 kB / 0.5008 GB, free: 20.11 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 4.272e-05/0.8687, allocations: 0 / 0.5008 GB, free: 20.11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.8688, allocations: 3.906 kB / 0.5008 GB, free: 20.11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.035e-06/0.8688, allocations: 3.938 kB / 0.5008 GB, free: 20.1 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.8691, allocations: 0.5271 MB / 0.5013 GB, free: 19.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001932/0.8693, allocations: 120.6 kB / 0.5015 GB, free: 19.44 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002915/0.8696, allocations: 0.6824 MB / 0.5021 GB, free: 18.73 MB / 346.7 MB Notification: Performance of SimCode: time 8.92e-07/0.8696, allocations: 0 / 0.5021 GB, free: 18.73 MB / 346.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSuperSampleClock_fmu --startTime=0 --stopTime=5e-05 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSuperSampleClock.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe 2>&1)