Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.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.LimitersHomotopy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_LimitersHomotopy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.LimitersHomotopy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_LimitersHomotopy",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.001092/0.001092, allocations: 199.7 kB / 8.538 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.15/1.15, allocations: 225.5 MB / 234.4 MB, free: 3.375 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008657/0.0008659, allocations: 91.16 kB / 286.3 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1706/0.1706, allocations: 45.14 MB / 383.3 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2101/0.3808, allocations: 69.36 MB / 452.7 MB, free: 76.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09477/0.4755, allocations: 63.24 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2755/0.751, allocations: 89.55 MB / 0.5913 GB, free: 13.59 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001321/0.7512, allocations: 53.67 kB / 0.5914 GB, free: 13.57 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.03292/0.7841, allocations: 11.96 MB / 0.603 GB, free: 3.34 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.7842, allocations: 8 kB / 0.603 GB, free: 3.332 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000435/0.7846, allocations: 79.14 kB / 0.6031 GB, free: 3.254 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006109/0.7853, allocations: 372.3 kB / 0.6035 GB, free: 2.883 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.7853, allocations: 19.84 kB / 0.6035 GB, free: 2.863 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.69e-05/0.7854, allocations: 31.94 kB / 0.6035 GB, free: 2.832 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004976/0.7859, allocations: 249.7 kB / 0.6038 GB, free: 2.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006378/0.7866, allocations: 426 kB / 0.6042 GB, free: 2.312 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.7866, allocations: 4 kB / 0.6042 GB, free: 2.309 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.087e-05/0.7866, allocations: 0 / 0.6042 GB, free: 2.309 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.7866, allocations: 19.91 kB / 0.6042 GB, free: 2.289 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003106/0.7898, allocations: 1.867 MB / 0.606 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005511/0.7903, allocations: 405.9 kB / 0.6064 GB, free: 200 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000264/0.7906, allocations: 206.7 kB / 0.6066 GB, free: 32 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.953e-05/0.7907, allocations: 12.91 kB / 0.6066 GB, free: 20 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/0.7907, allocations: 54.25 kB / 0.6067 GB, free: 15.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 1.643e-06/0.7907, allocations: 0 / 0.6067 GB, free: 15.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.0007268/0.7914, allocations: 334.5 kB / 0.607 GB, free: 15.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.7916, allocations: 290.2 kB / 0.6073 GB, free: 15.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.7918, allocations: 274.5 kB / 0.6075 GB, free: 15.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.606e-05/0.7919, allocations: 29.7 kB / 0.6075 GB, free: 15.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.792, allocations: 207.7 kB / 0.6077 GB, free: 14.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.7921, allocations: 160.8 kB / 0.6079 GB, free: 14.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.23e-05/0.7921, allocations: 0 / 0.6079 GB, free: 14.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.7922, allocations: 356.2 kB / 0.6082 GB, free: 14.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.7924, allocations: 110.4 kB / 0.6083 GB, free: 14.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/0.7927, allocations: 248.5 kB / 0.6086 GB, free: 14.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002208/0.793, allocations: 135.5 kB / 0.6087 GB, free: 14.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.793, allocations: 4 kB / 0.6087 GB, free: 14.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002316/0.7953, allocations: 0.8244 MB / 0.6095 GB, free: 13.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004195/0.7957, allocations: 1.306 MB / 0.6108 GB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.7957, allocations: 4 kB / 0.6108 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001471/0.7972, allocations: 372.8 kB / 0.6112 GB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005145/0.7977, allocations: 111.2 kB / 0.6113 GB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005922/0.8037, allocations: 6.359 MB / 0.6175 GB, free: 5.133 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006222/0.8043, allocations: 115.6 kB / 0.6176 GB, free: 5.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.194e-05/0.8044, allocations: 19.88 kB / 0.6176 GB, free: 5.004 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.276e-06/0.8044, allocations: 4 kB / 0.6176 GB, free: 5 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001129/0.8055, allocations: 460.1 kB / 0.618 GB, free: 4.637 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.8056, allocations: 4.25 kB / 0.618 GB, free: 4.633 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004888/0.806, allocations: 131.3 kB / 0.6182 GB, free: 4.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008278/0.8069, allocations: 203.3 kB / 0.6184 GB, free: 4.324 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003374/0.8103, allocations: 3.21 MB / 0.6215 GB, free: 1.105 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005949/0.8109, allocations: 103.1 kB / 0.6216 GB, free: 1.008 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-05/0.8109, allocations: 19.31 kB / 0.6216 GB, free: 0.9922 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: asin6.u:VARIABLE() "Connector of Real input signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: asin5.u:VARIABLE() "Connector of Real input signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: asin4.u:VARIABLE() "Connector of Real input signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: asin3.u:VARIABLE() "Connector of Real input signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: asin2.u:VARIABLE() "Connector of Real input signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: asin1.u:VARIABLE() "Connector of Real input signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 5,1 5,1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002483/0.8112, allocations: 128.7 kB / 0.6217 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002228/0.8114, allocations: 48 kB / 0.6218 GB, free: 0.8125 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008284/0.8123, allocations: 381 kB / 0.6221 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.8123, allocations: 8 kB / 0.6222 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.8123, allocations: 0 / 0.6222 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.8123, allocations: 4 kB / 0.6222 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009428/0.8132, allocations: 428.8 kB / 0.6226 GB, free: 144 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.8133, allocations: 7.969 kB / 0.6226 GB, free: 136 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008104/0.8141, allocations: 164.1 kB / 0.6227 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.062e-05/0.8142, allocations: 19.11 kB / 0.6228 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.897e-05/0.8142, allocations: 10.17 kB / 0.6228 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000856/0.8151, allocations: 1.242 MB / 0.624 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.8151, allocations: 0 / 0.624 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001117/0.8162, allocations: 1.12 MB / 0.6251 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001366/0.8176, allocations: 1.656 MB / 0.6267 GB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.588e-05/0.8177, allocations: 116.5 kB / 0.6268 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.695e-05/0.8178, allocations: 4 kB / 0.6268 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007947/0.8186, allocations: 103.7 kB / 0.6269 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.241e-05/0.8187, allocations: 31.83 kB / 0.6269 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-05/0.8187, allocations: 23.86 kB / 0.627 GB, free: 11.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001881/0.8189, allocations: 201.5 kB / 0.6271 GB, free: 11.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002191/0.8211, allocations: 195.2 kB / 0.6273 GB, free: 11.47 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 (controllerFeedbackPart1.y,firstOrder1.y,controllerFeedbackPart2.y,firstOrder2.y,controllerFeedbackPart3.y,firstOrder3.y,controllerFeedbackPart4.y,firstOrder4.y,controllerFeedbackPart5.y,firstOrder5.y,controllerFeedbackPart6.y,firstOrder6.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001839/0.8213, allocations: 119.1 kB / 0.6274 GB, free: 11.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003666/0.825, allocations: 1.408 MB / 0.6288 GB, free: 10.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.825, allocations: 2.25 kB / 0.6288 GB, free: 10.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003739/0.8254, allocations: 279.6 kB / 0.6291 GB, free: 9.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008164/0.8262, allocations: 111.7 kB / 0.6292 GB, free: 9.738 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.8283, allocations: 0.891 MB / 0.6301 GB, free: 8.859 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005695/0.8289, allocations: 0.9295 MB / 0.631 GB, free: 7.91 MB / 426.7 MB Notification: Performance of SimCode: time 4.3e-07/0.8289, allocations: 4 kB / 0.631 GB, free: 7.906 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_LimitersHomotopy_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_LimitersHomotopy.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy_res.mat does not exist to compare? outputFormat=mat