Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.LimPID,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.LimPID,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_LimPID",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 trunk/package.mo): time 0.001106/0.001106, allocations: 206.7 kB / 8.538 MB, free: 1.723 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.167/1.167, allocations: 225.5 MB / 234.4 MB, free: 3.398 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009858/0.0009857, allocations: 91.28 kB / 286.3 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1652/0.1652, allocations: 45.16 MB / 383.4 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.211/0.3763, allocations: 69.35 MB / 452.7 MB, free: 76.15 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09621/0.4725, allocations: 63.25 MB / 0.5039 GB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.29/0.7626, allocations: 90.31 MB / 0.5921 GB, free: 12.57 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/0.7628, allocations: 68.31 kB / 0.5921 GB, free: 12.54 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.04034/0.8032, allocations: 16.1 MB / 0.6078 GB, free: 15.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.8032, allocations: 8 kB / 0.6078 GB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.8034, allocations: 114.6 kB / 0.608 GB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009154/0.8043, allocations: 0.6295 MB / 0.6086 GB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.8044, allocations: 20 kB / 0.6086 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.23e-05/0.8045, allocations: 36 kB / 0.6086 GB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006871/0.8052, allocations: 396 kB / 0.609 GB, free: 14.13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008521/0.806, allocations: 0.5897 MB / 0.6096 GB, free: 13.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.806, allocations: 0 / 0.6096 GB, free: 13.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.649e-05/0.8061, allocations: 0 / 0.6096 GB, free: 13.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.8061, allocations: 16 kB / 0.6096 GB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003225/0.8094, allocations: 2.664 MB / 0.6122 GB, free: 11.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009037/0.8103, allocations: 0.5107 MB / 0.6127 GB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003143/0.8106, allocations: 213.4 kB / 0.6129 GB, free: 10.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.825e-05/0.8107, allocations: 15.97 kB / 0.6129 GB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.8107, allocations: 41.12 kB / 0.6129 GB, free: 10.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=52): time 1.854e-06/0.8107, allocations: 0 / 0.6129 GB, free: 10.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=52): time 0.0008266/0.8115, allocations: 452.7 kB / 0.6134 GB, free: 10.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.8116, allocations: 240 kB / 0.6136 GB, free: 10.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006103/0.8123, allocations: 0.5095 MB / 0.6141 GB, free: 9.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.636e-05/0.8123, allocations: 29.64 kB / 0.6141 GB, free: 9.645 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.8125, allocations: 291.4 kB / 0.6144 GB, free: 9.398 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.8127, allocations: 183.4 kB / 0.6146 GB, free: 9.242 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.419e-05/0.8127, allocations: 0 / 0.6146 GB, free: 9.242 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.8128, allocations: 320.8 kB / 0.6149 GB, free: 8.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002409/0.813, allocations: 154.2 kB / 0.615 GB, free: 8.848 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003257/0.8134, allocations: 283.8 kB / 0.6153 GB, free: 8.598 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002762/0.8137, allocations: 183.7 kB / 0.6155 GB, free: 8.492 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.8137, allocations: 3.938 kB / 0.6155 GB, free: 8.488 MB / 410.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001943/0.8156, allocations: 0.8651 MB / 0.6163 GB, free: 7.781 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003993/0.816, allocations: 1.133 MB / 0.6174 GB, free: 6.578 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.8161, allocations: 4 kB / 0.6174 GB, free: 6.574 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009178/0.817, allocations: 254.9 kB / 0.6177 GB, free: 6.371 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005683/0.8176, allocations: 131.3 kB / 0.6178 GB, free: 6.246 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003775/0.8213, allocations: 3.66 MB / 0.6214 GB, free: 2.656 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005095/0.8219, allocations: 83.55 kB / 0.6215 GB, free: 2.574 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.567e-05/0.8219, allocations: 19.88 kB / 0.6215 GB, free: 2.559 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.162e-06/0.8219, allocations: 3.938 kB / 0.6215 GB, free: 2.555 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001082/0.823, allocations: 0.5069 MB / 0.622 GB, free: 2.184 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.823, allocations: 3.984 kB / 0.622 GB, free: 2.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004214/0.8235, allocations: 133 kB / 0.6221 GB, free: 2.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007799/0.8243, allocations: 175.5 kB / 0.6223 GB, free: 1.902 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002837/0.8271, allocations: 3.032 MB / 0.6252 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004233/0.8276, allocations: 51.64 kB / 0.6253 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.314e-05/0.8276, allocations: 19.81 kB / 0.6253 GB, free: 14.81 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (PID4.I.local_reset,PID3.I.local_reset,PID2.I.local_reset,PID1.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001681/0.8278, allocations: 120.8 kB / 0.6254 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001978/0.828, allocations: 90.95 kB / 0.6255 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002046/0.8282, allocations: 84.61 kB / 0.6256 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.8282, allocations: 8 kB / 0.6256 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.8282, allocations: 3.906 kB / 0.6256 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.8282, allocations: 7.984 kB / 0.6256 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008751/0.8291, allocations: 0.6423 MB / 0.6262 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.8291, allocations: 0 / 0.6262 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006058/0.8297, allocations: 131.7 kB / 0.6264 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.8298, allocations: 0 / 0.6264 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.793e-05/0.8298, allocations: 7.812 kB / 0.6264 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.8298, allocations: 8 kB / 0.6264 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.8298, allocations: 0 / 0.6264 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001106/0.8309, allocations: 1.049 MB / 0.6274 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001478/0.8324, allocations: 1.661 MB / 0.629 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002241/0.8327, allocations: 214.2 kB / 0.6292 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.604e-05/0.8328, allocations: 0 / 0.6292 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005327/0.8333, allocations: 51.95 kB / 0.6293 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.344e-05/0.8334, allocations: 30.33 kB / 0.6293 GB, free: 11.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.544e-05/0.8334, allocations: 14.81 kB / 0.6293 GB, free: 11.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0004279/0.8339, allocations: 400.5 kB / 0.6297 GB, free: 11.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001969/0.8358, allocations: 254.8 kB / 0.6299 GB, free: 10.87 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PID1.I.y,firstOrder1.y,PID2.I.y,firstOrder2.y,PID3.I.y,firstOrder3.y,PID4.I.y,firstOrder4.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * 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.0001626/0.836, allocations: 103.1 kB / 0.63 GB, free: 10.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00308/0.8391, allocations: 1.439 MB / 0.6315 GB, free: 9.535 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.8391, allocations: 4 kB / 0.6315 GB, free: 9.531 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003145/0.8394, allocations: 218.1 kB / 0.6317 GB, free: 9.391 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009851/0.8404, allocations: 185.4 kB / 0.6318 GB, free: 9.246 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/0.8426, allocations: 1.116 MB / 0.6329 GB, free: 8.207 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006851/0.8433, allocations: 1.067 MB / 0.634 GB, free: 7.109 MB / 426.7 MB Notification: Performance of SimCode: time 4.11e-07/0.8433, allocations: 0 / 0.634 GB, free: 7.109 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.LimPID_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_LimPID_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_LimPID.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.LimPID_res.mat does not exist to compare? outputFormat=mat