Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.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.ComplexMath.TestComplexOperations,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_ComplexMath_TestComplexOperations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexOperations,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_ComplexMath_TestComplexOperations",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.001253/0.001253, allocations: 206.7 kB / 8.543 MB, free: 1.789 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.147/1.147, allocations: 225.5 MB / 234.4 MB, free: 3.391 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000837/0.000837, allocations: 94.25 kB / 286.3 MB, free: 5.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1622/0.1622, allocations: 45.14 MB / 383.3 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1988/0.3611, allocations: 69.36 MB / 452.7 MB, free: 76.14 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08648/0.4475, allocations: 63.24 MB / 0.5039 GB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2541/0.7016, allocations: 90.07 MB / 0.5918 GB, free: 12.83 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001568/0.7018, allocations: 68.28 kB / 0.5919 GB, free: 12.8 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.03933/0.7412, allocations: 16.65 MB / 0.6081 GB, free: 152 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.7412, allocations: 12 kB / 0.6082 GB, free: 140 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/0.7413, allocations: 3.984 kB / 0.6082 GB, free: 136 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.589e-05/0.7414, allocations: 164.5 kB / 0.6083 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.7414, allocations: 0 / 0.6083 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.7414, allocations: 0 / 0.6083 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.63e-05/0.7414, allocations: 4 kB / 0.6083 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.327e-05/0.7415, allocations: 29.64 kB / 0.6083 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.7415, allocations: 0 / 0.6083 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.7415, allocations: 7.906 kB / 0.6084 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.7415, allocations: 0 / 0.6084 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001138/0.7416, allocations: 127.5 kB / 0.6085 GB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.492e-05/0.7417, allocations: 22.58 kB / 0.6085 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.228e-05/0.7417, allocations: 5.672 kB / 0.6085 GB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.122e-06/0.7417, allocations: 0 / 0.6085 GB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.7418, allocations: 60.95 kB / 0.6086 GB, free: 15.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.7418, allocations: 0 / 0.6086 GB, free: 15.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001142/0.7419, allocations: 34.39 kB / 0.6086 GB, free: 15.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.7419, allocations: 77.14 kB / 0.6087 GB, free: 15.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.16e-05/0.742, allocations: 93.69 kB / 0.6088 GB, free: 15.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.742, allocations: 25.7 kB / 0.6088 GB, free: 15.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.216e-05/0.742, allocations: 80.14 kB / 0.6089 GB, free: 15.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.7421, allocations: 4.531 kB / 0.6089 GB, free: 15.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.843e-06/0.7421, allocations: 0 / 0.6089 GB, free: 15.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.076e-05/0.7422, allocations: 315.5 kB / 0.6092 GB, free: 14.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.676e-06/0.7422, allocations: 4 kB / 0.6092 GB, free: 14.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.03e-06/0.7422, allocations: 0.5625 kB / 0.6092 GB, free: 14.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.127e-05/0.7422, allocations: 4.062 kB / 0.6092 GB, free: 14.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.7422, allocations: 0 / 0.6092 GB, free: 14.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.053e-05/0.7423, allocations: 30.39 kB / 0.6092 GB, free: 14.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.7423, allocations: 8 kB / 0.6092 GB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.7423, allocations: 3.938 kB / 0.6092 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.7423, allocations: 3.984 kB / 0.6092 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.314e-06/0.7423, allocations: 0 / 0.6092 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.7423, allocations: 3.938 kB / 0.6092 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.224e-05/0.7423, allocations: 3.906 kB / 0.6092 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.7424, allocations: 0 / 0.6092 GB, free: 14.88 MB / 410.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: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 7.69e-05/0.7424, allocations: 139.3 kB / 0.6094 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.863e-06/0.7424, allocations: 0 / 0.6094 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.564e-05/0.7425, allocations: 7.578 kB / 0.6094 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.7425, allocations: 0 / 0.6094 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.7425, allocations: 0 / 0.6094 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.7425, allocations: 0 / 0.6094 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.627e-05/0.7426, allocations: 130.8 kB / 0.6095 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.7426, allocations: 0 / 0.6095 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.953e-06/0.7426, allocations: 3.984 kB / 0.6095 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.7426, allocations: 4 kB / 0.6095 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.942e-06/0.7426, allocations: 0 / 0.6095 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.7426, allocations: 0 / 0.6095 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.7426, allocations: 0 / 0.6095 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.63e-05/0.7427, allocations: 59.92 kB / 0.6096 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001982/0.7429, allocations: 460.6 kB / 0.61 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.831e-05/0.7429, allocations: 77.11 kB / 0.6101 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.7429, allocations: 0 / 0.6101 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.025e-05/0.743, allocations: 4 kB / 0.6101 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.226e-05/0.743, allocations: 4.406 kB / 0.6101 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.743, allocations: 0 / 0.6101 GB, free: 13.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.826e-05/0.743, allocations: 79.27 kB / 0.6101 GB, free: 13.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007999/0.7438, allocations: 8 kB / 0.6102 GB, free: 13.84 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.638e-05/0.7439, allocations: 99.89 kB / 0.6103 GB, free: 13.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.376e-05/0.744, allocations: 34.64 kB / 0.6103 GB, free: 13.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.744, allocations: 0 / 0.6103 GB, free: 13.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.761e-05/0.744, allocations: 26.2 kB / 0.6103 GB, free: 13.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.3e-05/0.7441, allocations: 7.938 kB / 0.6103 GB, free: 13.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001139/0.7442, allocations: 53.08 kB / 0.6104 GB, free: 13.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.7444, allocations: 0.6842 MB / 0.611 GB, free: 12.87 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.7444, allocations: 4 kB / 0.611 GB, free: 12.87 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_ComplexMath_TestComplexOperations_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_ComplexMath_TestComplexOperations.fmu > ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations_res.mat does not exist to compare? outputFormat=mat