Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.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.UpSample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UpSample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UpSample1",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.002691/0.002691, allocations: 190.1 kB / 7.841 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.032/2.032, 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.00134/0.00134, allocations: 95.69 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.1146/0.1146, allocations: 12.58 MB / 322 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2932/0.4079, allocations: 56.51 MB / 378.5 MB, free: 75.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.5115, allocations: 50.37 MB / 428.9 MB, free: 25.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3247/0.8362, allocations: 77.93 MB / 0.4949 GB, free: 11.94 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004013/0.8367, allocations: 82.19 kB / 0.495 GB, free: 11.93 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.01907/0.8558, allocations: 4.165 MB / 0.4991 GB, free: 11.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.8559, allocations: 11.69 kB / 0.4991 GB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.966e-05/0.8559, allocations: 15.03 kB / 0.4991 GB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.8562, allocations: 201.1 kB / 0.4993 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.8562, allocations: 7.719 kB / 0.4993 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.8562, allocations: 11.44 kB / 0.4993 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001817/0.8564, allocations: 48.36 kB / 0.4993 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004945/0.8569, allocations: 231.6 kB / 0.4996 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.857, allocations: 3.844 kB / 0.4996 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.857, allocations: 0 / 0.4996 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.857, allocations: 1.266 kB / 0.4996 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004748/0.8575, allocations: 290 kB / 0.4998 GB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.8578, allocations: 115.1 kB / 0.4999 GB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.8579, allocations: 66.44 kB / 0.5 GB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.901e-05/0.858, allocations: 5.406 kB / 0.5 GB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.858, allocations: 36.84 kB / 0.5001 GB, free: 10.64 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 3.196e-06/0.858, allocations: 0 / 0.5001 GB, free: 10.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003673/0.8584, allocations: 114.4 kB / 0.5002 GB, free: 10.59 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/0.8585, allocations: 118.5 kB / 0.5003 GB, free: 10.46 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.8586, allocations: 140.3 kB / 0.5004 GB, free: 10.36 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.8587, allocations: 25.7 kB / 0.5004 GB, free: 10.33 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.318e-05/0.8587, allocations: 91.27 kB / 0.5005 GB, free: 10.25 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.8588, allocations: 17.28 kB / 0.5005 GB, free: 10.24 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-06/0.8588, allocations: 0 / 0.5005 GB, free: 10.24 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.235e-05/0.8589, allocations: 323.2 kB / 0.5008 GB, free: 9.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.473e-05/0.8589, allocations: 18.91 kB / 0.5009 GB, free: 9.926 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.839e-05/0.859, allocations: 116 kB / 0.501 GB, free: 9.789 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.726e-05/0.8591, allocations: 38.72 kB / 0.501 GB, free: 9.781 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.8591, allocations: 3.938 kB / 0.501 GB, free: 9.777 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000353/0.8595, allocations: 150.2 kB / 0.5012 GB, free: 9.715 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.8596, allocations: 3.844 kB / 0.5012 GB, free: 9.715 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.8596, allocations: 8.5 kB / 0.5012 GB, free: 9.711 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.773e-05/0.8596, allocations: 11.72 kB / 0.5012 GB, free: 9.707 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003266/0.86, allocations: 32.09 kB / 0.5012 GB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.86, allocations: 3.844 kB / 0.5012 GB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002614/0.8603, allocations: 17.02 kB / 0.5012 GB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.784e-05/0.8603, allocations: 11.12 kB / 0.5012 GB, free: 9.695 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 8 (upSample2.b_super,$CLKPRE.upSample2.b_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample2.b,$CLKPRE.upSample2.b,upSample1.b,$CLKPRE.upSample1.b) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 0.0001433/0.8605, allocations: 112.7 kB / 0.5013 GB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004213/0.8609, allocations: 111.1 kB / 0.5015 GB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/0.8611, allocations: 17.83 kB / 0.5015 GB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.589e-06/0.8611, allocations: 3.844 kB / 0.5015 GB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.8611, allocations: 0 / 0.5015 GB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.709e-06/0.8612, allocations: 1.453 kB / 0.5015 GB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003672/0.8616, allocations: 169.6 kB / 0.5016 GB, free: 9.371 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.8616, allocations: 3.844 kB / 0.5016 GB, free: 9.371 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003407/0.8619, allocations: 27.62 kB / 0.5017 GB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.329e-05/0.862, allocations: 0 / 0.5017 GB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/0.862, allocations: 8.984 kB / 0.5017 GB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.862, allocations: 4 kB / 0.5017 GB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.144e-06/0.8621, allocations: 4.688 kB / 0.5017 GB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004893/0.8626, allocations: 251.1 kB / 0.5019 GB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005085/0.8631, allocations: 0.6162 MB / 0.5025 GB, free: 8.605 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/0.8633, allocations: 109.8 kB / 0.5026 GB, free: 8.504 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.202e-05/0.8634, allocations: 5.391 kB / 0.5026 GB, free: 8.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002999/0.8637, allocations: 7.844 kB / 0.5026 GB, free: 8.496 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/0.8638, allocations: 1.922 kB / 0.5026 GB, free: 8.496 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.014e-05/0.8638, allocations: 3.844 kB / 0.5026 GB, free: 8.496 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001648/0.864, allocations: 110.6 kB / 0.5028 GB, free: 8.422 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002868/0.8669, allocations: 15.41 kB / 0.5028 GB, free: 8.422 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0002859/0.8672, allocations: 105.8 kB / 0.5029 GB, free: 8.324 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004737/0.8677, allocations: 87.28 kB / 0.503 GB, free: 8.316 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.8678, allocations: 8.062 kB / 0.503 GB, free: 8.309 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.856e-05/0.8678, allocations: 0 / 0.503 GB, free: 8.309 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009318/0.8688, allocations: 73.38 kB / 0.503 GB, free: 8.293 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007438/0.8695, allocations: 172.9 kB / 0.5032 GB, free: 8.176 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004042/0.87, allocations: 0.7494 MB / 0.5039 GB, free: 7.465 MB / 330.7 MB Notification: Performance of SimCode: time 1.674e-06/0.87, allocations: 0 / 0.5039 GB, free: 7.465 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UpSample1_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UpSample1.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1)