Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_InitialOutput",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.001373/0.001372, allocations: 192 kB / 7.804 MB, free: 2.5 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.553/1.553, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.001119/0.001119, allocations: 85.41 kB / 261.4 MB, free: 13.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2028/0.2028, allocations: 43.49 MB / 352.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2241/0.427, allocations: 64.96 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.7698, allocations: 58.83 MB / 476.6 MB, free: 5.172 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1493/0.9192, allocations: 95.36 MB / 0.5586 GB, free: 3.539 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003937/0.9197, allocations: 67.47 kB / 0.5587 GB, free: 3.477 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.09405/1.014, allocations: 29.85 MB / 0.5878 GB, free: 5.477 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/1.014, allocations: 11.98 kB / 0.5878 GB, free: 5.465 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004158/1.014, allocations: 90.88 kB / 0.5879 GB, free: 5.375 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001741/1.016, allocations: 0.5859 MB / 0.5885 GB, free: 4.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.359e-05/1.016, allocations: 16 kB / 0.5885 GB, free: 4.734 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/1.016, allocations: 43.89 kB / 0.5885 GB, free: 4.691 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007298/1.017, allocations: 333.9 kB / 0.5889 GB, free: 4.363 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008203/1.018, allocations: 498.6 kB / 0.5893 GB, free: 3.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.121e-05/1.018, allocations: 11.84 kB / 0.5893 GB, free: 3.809 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.144e-05/1.018, allocations: 3.984 kB / 0.5893 GB, free: 3.805 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/1.018, allocations: 12 kB / 0.5894 GB, free: 3.793 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003952/1.022, allocations: 2.553 MB / 0.5918 GB, free: 1.148 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005436/1.022, allocations: 339.4 kB / 0.5922 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003126/1.023, allocations: 196.5 kB / 0.5924 GB, free: 0.5898 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.828e-05/1.023, allocations: 8.234 kB / 0.5924 GB, free: 0.582 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/1.023, allocations: 38.8 kB / 0.5924 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 5.279e-06/1.023, allocations: 0 / 0.5924 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of matching and sorting (n=46): time 0.001708/1.025, allocations: 0.7833 MB / 0.5932 GB, free: 15.74 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.05e-05/1.025, allocations: 110.8 kB / 0.5933 GB, free: 15.61 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007023/1.025, allocations: 499.8 kB / 0.5937 GB, free: 15.11 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.387e-05/1.025, allocations: 25.7 kB / 0.5938 GB, free: 15.08 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/1.026, allocations: 248.6 kB / 0.594 GB, free: 14.83 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/1.026, allocations: 177.4 kB / 0.5942 GB, free: 14.65 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/1.026, allocations: 0 / 0.5942 GB, free: 14.65 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002012/1.026, allocations: 383.8 kB / 0.5945 GB, free: 14.27 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003743/1.026, allocations: 201.3 kB / 0.5947 GB, free: 14.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000463/1.027, allocations: 346.3 kB / 0.5951 GB, free: 13.67 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004932/1.027, allocations: 252.2 kB / 0.5953 GB, free: 13.43 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/1.027, allocations: 3.906 kB / 0.5953 GB, free: 13.42 MB / 442.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00109/1.029, allocations: 0.6367 MB / 0.5959 GB, free: 12.78 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001092/1.03, allocations: 1.739 MB / 0.5976 GB, free: 10.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.674e-05/1.03, allocations: 4 kB / 0.5976 GB, free: 10.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.817e-05/1.03, allocations: 8 kB / 0.5976 GB, free: 10.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/1.031, allocations: 219.6 kB / 0.5979 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/1.031, allocations: 8 kB / 0.5979 GB, free: 10.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006547/1.032, allocations: 75.55 kB / 0.5979 GB, free: 10.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.45e-05/1.032, allocations: 32 kB / 0.598 GB, free: 10.56 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/1.032, allocations: 4 kB / 0.598 GB, free: 10.56 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001015/1.033, allocations: 0.5346 MB / 0.5985 GB, free: 10.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/1.033, allocations: 4 kB / 0.5985 GB, free: 10.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/1.033, allocations: 8 kB / 0.5985 GB, free: 10.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/1.034, allocations: 208.2 kB / 0.5987 GB, free: 9.809 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/1.034, allocations: 15.92 kB / 0.5987 GB, free: 9.793 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006453/1.035, allocations: 79.55 kB / 0.5988 GB, free: 9.715 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.887e-05/1.035, allocations: 24.05 kB / 0.5988 GB, free: 9.691 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 1 * 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.0002074/1.035, allocations: 124.7 kB / 0.5989 GB, free: 9.562 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002395/1.035, allocations: 75.06 kB / 0.599 GB, free: 9.488 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002926/1.035, allocations: 82.77 kB / 0.5991 GB, free: 9.406 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/1.035, allocations: 4 kB / 0.5991 GB, free: 9.402 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/1.035, allocations: 0 / 0.5991 GB, free: 9.402 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/1.035, allocations: 8 kB / 0.5991 GB, free: 9.395 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00219/1.038, allocations: 1.115 MB / 0.6002 GB, free: 8.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/1.038, allocations: 3.938 kB / 0.6002 GB, free: 8.227 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000754/1.038, allocations: 123.9 kB / 0.6003 GB, free: 8.105 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/1.038, allocations: 4 kB / 0.6003 GB, free: 8.102 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.159e-05/1.039, allocations: 4 kB / 0.6003 GB, free: 8.098 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.766e-06/1.039, allocations: 11.89 kB / 0.6003 GB, free: 8.086 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.039, allocations: 4 kB / 0.6003 GB, free: 8.082 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001272/1.04, allocations: 1.004 MB / 0.6013 GB, free: 7.031 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001759/1.042, allocations: 1.636 MB / 0.6029 GB, free: 5.344 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003562/1.042, allocations: 196 kB / 0.6031 GB, free: 5.133 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/1.042, allocations: 8 kB / 0.6031 GB, free: 5.125 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006462/1.043, allocations: 55.94 kB / 0.6032 GB, free: 5.07 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/1.043, allocations: 43.84 kB / 0.6032 GB, free: 5.027 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-05/1.043, allocations: 12 kB / 0.6032 GB, free: 5.016 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0006347/1.044, allocations: 375.2 kB / 0.6036 GB, free: 4.652 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002371/1.046, allocations: 207.9 kB / 0.6038 GB, free: 4.449 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 46 * 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.0005548/1.047, allocations: 135.1 kB / 0.6039 GB, free: 4.309 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001689/1.048, allocations: 0.8095 MB / 0.6047 GB, free: 3.496 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/1.048, allocations: 0 / 0.6047 GB, free: 3.496 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003866/1.049, allocations: 226 kB / 0.6049 GB, free: 3.277 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/1.05, allocations: 159.8 kB / 0.605 GB, free: 3.121 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003164/1.053, allocations: 1.217 MB / 0.6062 GB, free: 1.855 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001012/1.054, allocations: 1.066 MB / 0.6073 GB, free: 0.7539 MB / 442.7 MB Notification: Performance of SimCode: time 1.413e-06/1.054, allocations: 0 / 0.6073 GB, free: 0.7539 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_InitialOutput_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_InitialOutput.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1)