Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.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.SuperSampleInterpolated,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSampleInterpolated",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.001698/0.001698, allocations: 185.4 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.9/1.9, allocations: 205.2 MB / 213.5 MB, free: 13.92 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.00177/0.001769, allocations: 92.59 kB / 261.5 MB, free: 13.62 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.09706/0.09706, allocations: 12.59 MB / 322 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2286/0.3257, allocations: 56.51 MB / 378.5 MB, free: 75.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0866/0.4124, allocations: 50.37 MB / 428.9 MB, free: 25.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3069/0.7193, allocations: 77.68 MB / 0.4947 GB, free: 11.98 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/0.7196, allocations: 80.48 kB / 0.4948 GB, free: 11.98 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.01493/0.7345, allocations: 3.276 MB / 0.498 GB, free: 11.45 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.7346, allocations: 11.66 kB / 0.498 GB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.485e-05/0.7347, allocations: 14.53 kB / 0.498 GB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.735, allocations: 198.8 kB / 0.4982 GB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.735, allocations: 3.875 kB / 0.4982 GB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.735, allocations: 3.938 kB / 0.4982 GB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001564/0.7352, allocations: 45.28 kB / 0.4982 GB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004992/0.7357, allocations: 185.2 kB / 0.4984 GB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.7357, allocations: 5.719 kB / 0.4984 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.7358, allocations: 3.984 kB / 0.4984 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.7358, allocations: 0 / 0.4984 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004147/0.7362, allocations: 271.9 kB / 0.4987 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.7363, allocations: 87.64 kB / 0.4988 GB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.526e-05/0.7364, allocations: 42.42 kB / 0.4988 GB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.7365, allocations: 0 / 0.4988 GB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.7365, allocations: 39.84 kB / 0.4988 GB, free: 10.74 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.7365, allocations: 0 / 0.4988 GB, free: 10.74 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002931/0.7368, allocations: 88.56 kB / 0.4989 GB, free: 10.7 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/0.7369, allocations: 115.8 kB / 0.499 GB, free: 10.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.737, allocations: 131.5 kB / 0.4992 GB, free: 10.47 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.7371, allocations: 25.7 kB / 0.4992 GB, free: 10.44 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.647e-05/0.7371, allocations: 85 kB / 0.4993 GB, free: 10.36 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.7371, allocations: 16.8 kB / 0.4993 GB, free: 10.36 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.7371, allocations: 0.5625 kB / 0.4993 GB, free: 10.36 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.582e-05/0.7372, allocations: 325.2 kB / 0.4996 GB, free: 10.04 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.903e-05/0.7373, allocations: 14.88 kB / 0.4996 GB, free: 10.04 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.11e-05/0.7374, allocations: 80.39 kB / 0.4997 GB, free: 9.945 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.569e-05/0.7374, allocations: 29.12 kB / 0.4997 GB, free: 9.941 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.7374, allocations: 0 / 0.4997 GB, free: 9.941 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000211/0.7377, allocations: 113.9 kB / 0.4998 GB, free: 9.883 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.7377, allocations: 7.438 kB / 0.4998 GB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.7377, allocations: 0 / 0.4998 GB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.7377, allocations: 5.422 kB / 0.4998 GB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/0.738, allocations: 29.77 kB / 0.4999 GB, free: 9.879 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.637e-05/0.7381, allocations: 5.438 kB / 0.4999 GB, free: 9.879 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.7382, allocations: 3.812 kB / 0.4999 GB, free: 9.879 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.7383, allocations: 7.938 kB / 0.4999 GB, free: 9.875 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,superSampleIpo.first,$CLKPRE.superSampleIpo.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001034/0.7384, allocations: 121.6 kB / 0.5 GB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001933/0.7386, allocations: 81.66 kB / 0.5001 GB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.114e-05/0.7387, allocations: 12.91 kB / 0.5001 GB, free: 9.715 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.7387, allocations: 0 / 0.5001 GB, free: 9.715 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.7387, allocations: 3.875 kB / 0.5001 GB, free: 9.715 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.7387, allocations: 9.016 kB / 0.5001 GB, free: 9.707 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.7389, allocations: 158 kB / 0.5002 GB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.7389, allocations: 0 / 0.5002 GB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/0.7392, allocations: 28.36 kB / 0.5003 GB, free: 9.543 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.7392, allocations: 3.844 kB / 0.5003 GB, free: 9.543 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.7392, allocations: 1.406 kB / 0.5003 GB, free: 9.543 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.7392, allocations: 7.75 kB / 0.5003 GB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.7392, allocations: 0 / 0.5003 GB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002419/0.7395, allocations: 226.2 kB / 0.5005 GB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002825/0.7398, allocations: 0.5882 MB / 0.5011 GB, free: 8.789 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.989e-05/0.7399, allocations: 101.9 kB / 0.5012 GB, free: 8.688 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.501e-05/0.7399, allocations: 4.891 kB / 0.5012 GB, free: 8.688 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.7401, allocations: 8.625 kB / 0.5012 GB, free: 8.688 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.004e-05/0.7401, allocations: 1.125 kB / 0.5012 GB, free: 8.688 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.7402, allocations: 4.922 kB / 0.5012 GB, free: 8.688 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.909e-05/0.7403, allocations: 102.5 kB / 0.5013 GB, free: 8.613 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001241/0.7415, allocations: 15.5 kB / 0.5013 GB, free: 8.609 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: 3 (superSampleIpo.usedFactor,superSampleIpo.ticks,superSampleIpo.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001169/0.7416, allocations: 106.3 kB / 0.5014 GB, free: 8.512 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.7418, allocations: 56.11 kB / 0.5014 GB, free: 8.508 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.7418, allocations: 0 / 0.5014 GB, free: 8.508 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.429e-05/0.7419, allocations: 7.781 kB / 0.5015 GB, free: 8.504 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005187/0.7424, allocations: 48.95 kB / 0.5015 GB, free: 8.496 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005859/0.743, allocations: 136.8 kB / 0.5016 GB, free: 8.398 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/0.7433, allocations: 0.7308 MB / 0.5023 GB, free: 7.688 MB / 330.7 MB Notification: Performance of SimCode: time 2.033e-06/0.7433, allocations: 0 / 0.5023 GB, free: 7.688 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSampleInterpolated_fmu --startTime=0 --stopTime=0.06 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSampleInterpolated.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1)