Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package ModelicaByExample with version 0.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment,fileNamePrefix="ModelicaByExample_ModelicaByExample_BasicEquations_SimpleExample_FirstOrderExperiment",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment,fileNamePrefix="ModelicaByExample_ModelicaByExample_BasicEquations_SimpleExample_FirstOrderExperiment",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.2+maint.om/package.mo): time 0.002227/0.002227, allocations: 180.7 kB / 7.456 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1/1, allocations: 194.2 MB / 202.1 MB, free: 8.66 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03356/0.03356, allocations: 7.914 MB / 254.9 MB, free: 1.711 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001544/0.001545, allocations: 113.1 kB / 301.5 MB, free: 3.305 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09447/0.09606, allocations: 52.32 MB / 353.8 MB, free: 14.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.2706, allocations: 46.19 MB / 400 MB, free: 70.23 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06639/0.3371, allocations: 70.13 MB / 470.2 MB, free: 1.258 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001326/0.3372, allocations: 47.92 kB / 470.2 MB, free: 1.211 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000643/0.3379, allocations: 372.6 kB / 470.6 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.3379, allocations: 8 kB / 470.6 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.027e-05/0.338, allocations: 0 / 470.6 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.42e-05/0.338, allocations: 163.1 kB / 470.7 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.667e-06/0.338, allocations: 0 / 470.7 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.338, allocations: 3.906 kB / 470.7 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.482e-05/0.3381, allocations: 11.94 kB / 470.8 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.858e-05/0.3381, allocations: 29.69 kB / 470.8 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.45e-06/0.3381, allocations: 0 / 470.8 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.3382, allocations: 0 / 470.8 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3382, allocations: 0 / 470.8 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001943/0.3384, allocations: 130.2 kB / 470.9 MB, free: 396 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.447e-05/0.3384, allocations: 22.58 kB / 470.9 MB, free: 364 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.377e-05/0.3384, allocations: 4.859 kB / 470.9 MB, free: 356 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.314e-06/0.3384, allocations: 0 / 470.9 MB, free: 356 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.628e-06/0.3384, allocations: 38.64 kB / 471 MB, free: 308 kB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 7.32e-07/0.3385, allocations: 3.938 kB / 471 MB, free: 304 kB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 8.78e-05/0.3385, allocations: 33.61 kB / 471 MB, free: 264 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.323e-05/0.3386, allocations: 59.38 kB / 471.1 MB, free: 192 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.166e-05/0.3386, allocations: 85 kB / 471.2 MB, free: 100 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.36e-06/0.3386, allocations: 25.7 kB / 471.2 MB, free: 68 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.427e-05/0.3386, allocations: 80.14 kB / 471.3 MB, free: 15.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.3387, allocations: 4 kB / 471.3 MB, free: 15.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.934e-06/0.3387, allocations: 0 / 471.3 MB, free: 15.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.115e-05/0.3388, allocations: 318.8 kB / 471.6 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.596e-06/0.3388, allocations: 0 / 471.6 MB, free: 15.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.01e-06/0.3388, allocations: 0 / 471.6 MB, free: 15.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.073e-05/0.3388, allocations: 12.05 kB / 471.6 MB, free: 15.64 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3388, allocations: 0 / 471.6 MB, free: 15.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.511e-05/0.3389, allocations: 41.64 kB / 471.6 MB, free: 15.6 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.3389, allocations: 4 kB / 471.6 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.3389, allocations: 0 / 471.6 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/0.3389, allocations: 0 / 471.6 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.633e-05/0.3389, allocations: 4 kB / 471.6 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.339, allocations: 0 / 471.6 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.061e-05/0.339, allocations: 3.938 kB / 471.6 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.902e-06/0.339, allocations: 4.016 kB / 471.6 MB, free: 15.58 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 (2): * Single equations (assignments): 2 * 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 5.979e-05/0.3391, allocations: 112.7 kB / 471.8 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.428e-06/0.3391, allocations: 7.984 kB / 471.8 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.813e-05/0.3391, allocations: 3 kB / 471.8 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3391, allocations: 0 / 471.8 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3391, allocations: 0 / 471.8 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3391, allocations: 0 / 471.8 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.3392, allocations: 130.2 kB / 471.9 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3392, allocations: 3.984 kB / 471.9 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.653e-05/0.3393, allocations: 4 kB / 471.9 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3393, allocations: 4 kB / 471.9 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.3393, allocations: 0 / 471.9 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3393, allocations: 0 / 471.9 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3393, allocations: 0 / 471.9 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.978e-05/0.3394, allocations: 61.08 kB / 472 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001476/0.3395, allocations: 449.6 kB / 472.4 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.368e-05/0.3396, allocations: 77.11 kB / 472.5 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.3396, allocations: 3.984 kB / 472.5 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.141e-05/0.3396, allocations: 0 / 472.5 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.49e-05/0.3396, allocations: 3.906 kB / 472.5 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.3396, allocations: 4 kB / 472.5 MB, free: 14.64 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.157e-05/0.3397, allocations: 75.28 kB / 472.6 MB, free: 14.56 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006983/0.3404, allocations: 8.125 kB / 472.6 MB, free: 14.55 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0001079/0.3405, allocations: 99.19 kB / 472.7 MB, free: 14.45 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 4.894e-05/0.3405, allocations: 11.88 kB / 472.7 MB, free: 14.44 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3405, allocations: 0 / 472.7 MB, free: 14.44 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.372e-06/0.3406, allocations: 8 kB / 472.7 MB, free: 14.43 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.934e-05/0.3406, allocations: 1.125 kB / 472.7 MB, free: 14.43 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001965/0.3408, allocations: 67.02 kB / 472.8 MB, free: 14.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/0.341, allocations: 0.688 MB / 473.4 MB, free: 13.63 MB / 330.7 MB Notification: Performance of SimCode: time 2.41e-07/0.341, allocations: 0 / 473.4 MB, free: 13.63 MB / 330.7 MB (rm -f ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe ; mkfifo ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe >> ../files/ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_BasicEquations_SimpleExample_FirstOrderExperiment_fmu --startTime=0 --stopTime=8 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_BasicEquations_SimpleExample_FirstOrderExperiment.fmu > ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe 2>&1)