Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.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/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Sample1",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.002676/0.002675, allocations: 184.5 kB / 7.842 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.799/1.799, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.001282/0.001282, allocations: 95.23 kB / 261.5 MB, free: 13.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1218/0.1218, allocations: 12.59 MB / 322 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.257/0.3788, allocations: 56.49 MB / 378.5 MB, free: 75.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09861/0.4775, allocations: 50.37 MB / 428.9 MB, free: 25.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3296/0.8071, allocations: 76.92 MB / 0.4939 GB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/0.8074, allocations: 78.31 kB / 0.494 GB, free: 11.88 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.003732/0.8112, allocations: 1.079 MB / 0.4951 GB, free: 11.49 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.8112, allocations: 16.59 kB / 0.4951 GB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.8113, allocations: 7.781 kB / 0.4951 GB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.8115, allocations: 181.4 kB / 0.4952 GB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.8115, allocations: 5.812 kB / 0.4953 GB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.8116, allocations: 7.75 kB / 0.4953 GB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.994e-05/0.8116, allocations: 16.31 kB / 0.4953 GB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.8119, allocations: 105 kB / 0.4954 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.998e-06/0.8119, allocations: 0 / 0.4954 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.8119, allocations: 0 / 0.4954 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.8119, allocations: 0 / 0.4954 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002938/0.8122, allocations: 239.1 kB / 0.4956 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.8124, allocations: 135.7 kB / 0.4957 GB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.261e-05/0.8125, allocations: 26.42 kB / 0.4958 GB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.8125, allocations: 0 / 0.4958 GB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.8125, allocations: 30.56 kB / 0.4958 GB, free: 10.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.8125, allocations: 0 / 0.4958 GB, free: 10.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001869/0.8127, allocations: 60.73 kB / 0.4958 GB, free: 10.7 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.8128, allocations: 77.11 kB / 0.4959 GB, free: 10.61 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.8129, allocations: 122.8 kB / 0.496 GB, free: 10.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.8129, allocations: 25.7 kB / 0.4961 GB, free: 10.49 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.038e-05/0.813, allocations: 84.88 kB / 0.4961 GB, free: 10.41 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.121e-05/0.813, allocations: 5.453 kB / 0.4961 GB, free: 10.4 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.813, allocations: 0 / 0.4961 GB, free: 10.4 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.619e-05/0.8131, allocations: 316.3 kB / 0.4965 GB, free: 10.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.657e-05/0.8131, allocations: 7.594 kB / 0.4965 GB, free: 10.09 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.931e-05/0.8131, allocations: 23.34 kB / 0.4965 GB, free: 10.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.763e-05/0.8132, allocations: 12.98 kB / 0.4965 GB, free: 10.05 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.8132, allocations: 0 / 0.4965 GB, free: 10.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.967e-05/0.8133, allocations: 55.78 kB / 0.4965 GB, free: 10.01 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.8133, allocations: 3.938 kB / 0.4965 GB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.8133, allocations: 7.781 kB / 0.4966 GB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.8134, allocations: 0 / 0.4966 GB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.746e-05/0.8134, allocations: 3.906 kB / 0.4966 GB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.8134, allocations: 1.125 kB / 0.4966 GB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.884e-05/0.8135, allocations: 0 / 0.4966 GB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.8135, allocations: 4.75 kB / 0.4966 GB, free: 10.01 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample.u,sample.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.602e-05/0.8136, allocations: 110.4 kB / 0.4967 GB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.728e-05/0.8137, allocations: 51.45 kB / 0.4967 GB, free: 9.855 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.209e-05/0.8137, allocations: 9.25 kB / 0.4967 GB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.299e-06/0.8137, allocations: 3.938 kB / 0.4967 GB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.8138, allocations: 0 / 0.4967 GB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.8138, allocations: 0 / 0.4967 GB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.8139, allocations: 146.6 kB / 0.4969 GB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.814, allocations: 5.062 kB / 0.4969 GB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.202e-05/0.814, allocations: 0 / 0.4969 GB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.814, allocations: 0 / 0.4969 GB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.904e-06/0.814, allocations: 0 / 0.4969 GB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.814, allocations: 12.72 kB / 0.4969 GB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.814, allocations: 0 / 0.4969 GB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001266/0.8142, allocations: 164.6 kB / 0.497 GB, free: 9.52 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001696/0.8144, allocations: 0.5394 MB / 0.4976 GB, free: 8.984 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.799e-05/0.8144, allocations: 95.95 kB / 0.4977 GB, free: 8.887 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.8145, allocations: 0 / 0.4977 GB, free: 8.887 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.8146, allocations: 0 / 0.4977 GB, free: 8.887 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.8147, allocations: 5.938 kB / 0.4977 GB, free: 8.887 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.8147, allocations: 0 / 0.4977 GB, free: 8.887 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.744e-05/0.8147, allocations: 96.48 kB / 0.4978 GB, free: 8.812 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001424/0.8162, allocations: 11.69 kB / 0.4978 GB, free: 8.809 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (sample.u,assignClock.u,assignClock.y,sample.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001603/0.8164, allocations: 97.75 kB / 0.4979 GB, free: 8.719 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001685/0.8166, allocations: 18.62 kB / 0.4979 GB, free: 8.715 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.8166, allocations: 3.125 kB / 0.4979 GB, free: 8.715 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.181e-05/0.8166, allocations: 3.781 kB / 0.4979 GB, free: 8.715 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005705/0.8172, allocations: 25.27 kB / 0.4979 GB, free: 8.703 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004513/0.8177, allocations: 97.94 kB / 0.498 GB, free: 8.613 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002758/0.818, allocations: 0.7068 MB / 0.4987 GB, free: 7.91 MB / 330.7 MB Notification: Performance of SimCode: time 1.503e-06/0.818, allocations: 0 / 0.4987 GB, free: 7.91 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1)