Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.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.SampleWithADeffects,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects",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.001696/0.001696, allocations: 189.1 kB / 7.845 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.975/1.975, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.001269/0.001268, allocations: 81.77 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.106/0.106, allocations: 12.58 MB / 322 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2775/0.3835, allocations: 56.5 MB / 378.5 MB, free: 75.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.5008, allocations: 50.38 MB / 428.9 MB, free: 25.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3248/0.8257, allocations: 78.94 MB / 0.4959 GB, free: 11.9 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/0.826, allocations: 82.5 kB / 0.496 GB, free: 11.9 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.02114/0.8472, allocations: 4.675 MB / 0.5005 GB, free: 11.24 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.8473, allocations: 7.594 kB / 0.5006 GB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.993e-05/0.8473, allocations: 19.22 kB / 0.5006 GB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004078/0.8478, allocations: 231.9 kB / 0.5008 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.8478, allocations: 7.719 kB / 0.5008 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.8478, allocations: 3.844 kB / 0.5008 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002128/0.8481, allocations: 66 kB / 0.5009 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006173/0.8487, allocations: 262.6 kB / 0.5011 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.8487, allocations: 4 kB / 0.5011 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.509e-05/0.8488, allocations: 0.7031 kB / 0.5011 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.8488, allocations: 3.844 kB / 0.5011 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005654/0.8493, allocations: 321.9 kB / 0.5014 GB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006217/0.85, allocations: 225.4 kB / 0.5016 GB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003346/0.8504, allocations: 80.69 kB / 0.5017 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008519/0.8512, allocations: 0.5807 MB / 0.5023 GB, free: 9.84 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.8513, allocations: 42.03 kB / 0.5023 GB, free: 9.797 MB / 330.7 MB Notification: Performance of pre-optimization done (n=19): time 3.166e-06/0.8513, allocations: 0 / 0.5023 GB, free: 9.797 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.000493/0.8518, allocations: 137.5 kB / 0.5025 GB, free: 9.754 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.059e-05/0.8519, allocations: 108.4 kB / 0.5026 GB, free: 9.629 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.8521, allocations: 177.8 kB / 0.5027 GB, free: 9.527 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.8522, allocations: 25.7 kB / 0.5028 GB, free: 9.496 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.934e-05/0.8522, allocations: 94.92 kB / 0.5029 GB, free: 9.41 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.8523, allocations: 14.48 kB / 0.5029 GB, free: 9.406 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.027e-05/0.8523, allocations: 0 / 0.5029 GB, free: 9.406 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.413e-05/0.8524, allocations: 331.4 kB / 0.5032 GB, free: 9.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.559e-05/0.8524, allocations: 30.05 kB / 0.5032 GB, free: 9.09 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.8526, allocations: 155.4 kB / 0.5034 GB, free: 8.926 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.8527, allocations: 60.14 kB / 0.5034 GB, free: 8.914 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.8527, allocations: 3.812 kB / 0.5034 GB, free: 8.914 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003577/0.8531, allocations: 175 kB / 0.5036 GB, free: 8.852 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.8531, allocations: 7.688 kB / 0.5036 GB, free: 8.852 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.8532, allocations: 3.844 kB / 0.5036 GB, free: 8.852 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.8532, allocations: 3.844 kB / 0.5036 GB, free: 8.852 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/0.8535, allocations: 47.42 kB / 0.5036 GB, free: 8.848 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.8535, allocations: 17.16 kB / 0.5037 GB, free: 8.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.8537, allocations: 19.95 kB / 0.5037 GB, free: 8.828 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.8538, allocations: 9.484 kB / 0.5037 GB, free: 8.828 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 6 (sample.noise.seedState[3],$CLKPRE.sample.noise.seedState[3],sample.noise.seedState[2],$CLKPRE.sample.noise.seedState[2],sample.noise.seedState[1],$CLKPRE.sample.noise.seedState[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001347/0.8539, allocations: 122.1 kB / 0.5038 GB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004065/0.8543, allocations: 135.4 kB / 0.5039 GB, free: 8.668 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004538/0.8548, allocations: 153.7 kB / 0.5041 GB, free: 8.625 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.8548, allocations: 11.64 kB / 0.5041 GB, free: 8.617 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.8548, allocations: 0 / 0.5041 GB, free: 8.617 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.8549, allocations: 5.344 kB / 0.5041 GB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002518/0.8551, allocations: 203.5 kB / 0.5043 GB, free: 8.445 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/0.8551, allocations: 5.594 kB / 0.5043 GB, free: 8.445 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000302/0.8555, allocations: 32.14 kB / 0.5043 GB, free: 8.445 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.8555, allocations: 0 / 0.5043 GB, free: 8.445 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.8555, allocations: 5.047 kB / 0.5043 GB, free: 8.445 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.8555, allocations: 0 / 0.5043 GB, free: 8.445 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.8555, allocations: 0 / 0.5043 GB, free: 8.445 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003962/0.8559, allocations: 272.2 kB / 0.5046 GB, free: 8.27 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004202/0.8564, allocations: 0.6352 MB / 0.5052 GB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.8565, allocations: 117.7 kB / 0.5053 GB, free: 7.621 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.818e-05/0.8566, allocations: 8.344 kB / 0.5053 GB, free: 7.621 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.8569, allocations: 10.72 kB / 0.5053 GB, free: 7.621 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.8569, allocations: 0 / 0.5053 GB, free: 7.621 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/0.8569, allocations: 5.391 kB / 0.5053 GB, free: 7.621 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001657/0.8571, allocations: 145.3 kB / 0.5055 GB, free: 7.539 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001353/0.8585, allocations: 32.47 kB / 0.5055 GB, free: 7.535 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 (sample.noise.seedState[1],sample.noise.seedState[2],sample.noise.seedState[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002493/0.8588, allocations: 111.9 kB / 0.5056 GB, free: 7.434 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003444/0.8591, allocations: 114.9 kB / 0.5057 GB, free: 7.422 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.8591, allocations: 1.188 kB / 0.5057 GB, free: 7.422 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.441e-05/0.8592, allocations: 3.812 kB / 0.5057 GB, free: 7.422 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007149/0.8599, allocations: 137 kB / 0.5059 GB, free: 7.379 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007681/0.8607, allocations: 216.3 kB / 0.5061 GB, free: 7.262 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003405/0.861, allocations: 0.7543 MB / 0.5068 GB, free: 6.559 MB / 330.7 MB Notification: Performance of SimCode: time 1.403e-06/0.861, allocations: 0 / 0.5068 GB, free: 6.559 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1)